diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-28 06:21:59 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-28 06:21:59 (GMT) |
commit | 8c3fa9dab2ca7c46b6334fbbac5baf0fb822add0 (patch) | |
tree | c6f6cdef74a43ad8074c875718848396ecffa0bb | |
parent | 980aa6724a3bdd735742c74e7bb84627a88b4532 (diff) |
Update Python documentation for binary contents.
-rw-r--r-- | plugins/pychrysalide/analysis/content.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/pychrysalide/analysis/content.c b/plugins/pychrysalide/analysis/content.c index a4f2b99..c30cdd8 100644 --- a/plugins/pychrysalide/analysis/content.c +++ b/plugins/pychrysalide/analysis/content.c @@ -174,19 +174,14 @@ static int py_binary_content_init(PyObject *self, PyObject *args, PyObject *kwds { int ret; /* Bilan de lecture des args. */ -#define BINARY_CONTENT_DOC \ - "The BinContent is an interface which handles access to a given binary" \ - " content.\n" \ +#define BINARY_CONTENT_DOC \ + "A BinContent is an abstract object which handles access to a given" \ + " binary content.\n" \ "\n" \ "All of its implementations are located in the" \ " pychrysalide.analysis.contents module. The main implemantation is" \ " the pychrysalide.analysis.contents.FileContent class.\n" \ "\n" \ - "A typical class declaration for a new implementation looks like:\n" \ - "\n" \ - " class NewImplem(GObject.Object, BinContent):\n" \ - " ...\n" \ - "\n" \ "The following methods have to be defined for new implementations:\n" \ "* pychrysalide.analysis.BinContent._describe();\n" \ "* pychrysalide.analysis.BinContent._read_raw();\n" \ |