From 8c3fa9dab2ca7c46b6334fbbac5baf0fb822add0 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 28 Sep 2023 08:21:59 +0200 Subject: Update Python documentation for binary contents. --- plugins/pychrysalide/analysis/content.c | 11 +++-------- 1 file 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" \ -- cgit v0.11.2-87-g4458