From 6d290a69f0b76fce34e8a2fc2c5fbec15c95d1a5 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Tue, 4 Feb 2020 18:38:13 +0100
Subject: Completed the ImmOperand constructor documentation.

---
 plugins/pychrysalide/arch/operands/immediate.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/plugins/pychrysalide/arch/operands/immediate.c b/plugins/pychrysalide/arch/operands/immediate.c
index 7a570f0..39ce2e2 100644
--- a/plugins/pychrysalide/arch/operands/immediate.c
+++ b/plugins/pychrysalide/arch/operands/immediate.c
@@ -123,7 +123,14 @@ static PyObject *py_imm_operand_new(PyTypeObject *type, PyObject *args, PyObject
     "The ImmOperand deals with immediate value as operand."             \
     "\n"                                                                \
     "There are several ways to display these values in a disassembly,"  \
-    " the operand handles that."
+    " the operand handles that.\n"                                      \
+    "\n"                                                                \
+    "Instances can be created using the following constructor:\n"       \
+    "\n"                                                                \
+    "    ImmOperand(size, value)"                                       \
+    "\n"                                                                \
+    "Where size specifies the original size of the provided value, as"  \
+    " a pychrysalide.analysis.BinContent.MemoryDataSize."
 
     ret = PyArg_ParseTuple(args, "IK", &raw_size, &value);
     if (!ret) return NULL;
-- 
cgit v0.11.2-87-g4458