From e71c65a5879fa4a263bdab1a9754f38301ad656b Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Thu, 21 Sep 2017 14:16:13 +0200 Subject: Signature: fix documentation There was some glitch that made a few sentences incomplete. Task-number: PYSIDE-510 Change-Id: Idd11c7a0d9f31aab4ab80e6fd6002f2320695ad5 Reviewed-by: Friedemann Kleint --- sources/shiboken2/libshiboken/signature.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sources/shiboken2/libshiboken/signature.cpp') diff --git a/sources/shiboken2/libshiboken/signature.cpp b/sources/shiboken2/libshiboken/signature.cpp index 7333870dd..cca0847b2 100644 --- a/sources/shiboken2/libshiboken/signature.cpp +++ b/sources/shiboken2/libshiboken/signature.cpp @@ -70,7 +70,10 @@ extern "C" ------------------- The basic idea is to create a dummy Python function and to use the inspect - module to create a signature object. Then, this object is ge to python: + module to create a signature object. Then, this object is returned as the + result of the __signature__ attribute of the real PyCFunction. + + There is one thing that really changes Python a bit: I added the __signature__ attribute to every function. -- cgit v1.2.3