From 93b452d5258aa07d24ec233f2de930343be1d974 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Tue, 19 May 2020 00:02:09 +0200
Subject: Extended the documentation for the SymIterator Python class.

---
 plugins/pychrysalide/format/symiter.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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,
-- 
cgit v0.11.2-87-g4458