summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/pychrysalide/format/symiter.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/pychrysalide/format/symiter.c b/plugins/pychrysalide/format/symiter.c
index 53ad17a..c98b000 100644
--- a/plugins/pychrysalide/format/symiter.c
+++ b/plugins/pychrysalide/format/symiter.c
@@ -37,6 +37,13 @@
+#define SYM_ITERATOR_DOC \
+ "Iterator for Chrysalide symbols registered in a given format.\n" \
+ "\n" \
+ "This iterator is built when accessing to the" \
+ " pychrysalide.format.BinFormat.symbols field."
+
+
/* Transcription d'un itérateur en Python */
typedef struct _PySymIterator
{
@@ -192,7 +199,7 @@ PyTypeObject *get_python_sym_iterator_type(void)
.tp_flags = Py_TPFLAGS_DEFAULT,
- .tp_doc = "Iterator for Chrysalide symbols registered in a given format.",
+ .tp_doc = SYM_ITERATOR_DOC,
.tp_iter = PyObject_SelfIter,
.tp_iternext = (iternextfunc)py_sym_iterator_next,