summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-08-18 21:35:18 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-08-18 21:35:18 (GMT)
commitdd9974a5c2770a066d8b4edf47b41034fbd41c72 (patch)
tree55d6cc65b41e838ac615a6dff70606cd5bb8bc66 /plugins/pychrysalide/format
parentf021fec73e81943918325c658d6b5594dcdff0d4 (diff)
Prepared an improved Python documentation.
Diffstat (limited to 'plugins/pychrysalide/format')
-rw-r--r--plugins/pychrysalide/format/symbol.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index 359ee45..a88a260 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -249,16 +249,16 @@ static int py_binary_symbol_init(PyObject *self, PyObject *args, PyObject *kwds)
GBinSymbol *symbol; /* Version GLib du symble */
#define BINARY_SYMBOL_DOC \
- "BinSymbol represents all kinds of symbols, such as string, routines or" \
+ "BinSymbol represents all kinds of symbols, such as strings, routines or" \
" objects. If something can be linked to a physical or virtual location," \
" it can be a symbol." \
"\n" \
"Instances can be created using the following constructor:\n" \
"\n" \
- " BinSymbol(stype, range)" \
+ " BinSymbol(range, stype)" \
"\n" \
- "Where stype is a pychrysalide.format.BinSymbol.SymbolType value, and" \
- " range a memory space defined by pychrysalide.arch.mrange." \
+ "Where range is a memory space defined by pychrysalide.arch.mrange and" \
+ " stype a pychrysalide.format.BinSymbol.SymbolType value." \
"\n" \
"The following special method can be overridden:\n" \
"* _get_label(self): provides a default label for the symbol."
@@ -363,7 +363,7 @@ static PyObject *py_binary_symbol_get_range(PyObject *self, void *closure)
#define BINARY_SYMBOL_RANGE_ATTRIB PYTHON_GETSET_DEF_FULL \
( \
range, py_binary_symbol, \
- "Range covered by the symbol." \
+ "Memory range covered by the symbol." \
)
symbol = G_BIN_SYMBOL(pygobject_get(self));