diff options
authorChristian Tismer <tismer@stackless.com>2017-09-21 14:16:13 +0200
committerChristian Tismer <tismer@stackless.com>2017-09-25 08:16:15 +0000
commite71c65a5879fa4a263bdab1a9754f38301ad656b (patch)
parent572a6be53fd39d42288f05ab3c7c9412fc97bc4b (diff)
Signature: fix documentation
There was some glitch that made a few sentences incomplete. Task-number: PYSIDE-510 Change-Id: Idd11c7a0d9f31aab4ab80e6fd6002f2320695ad5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/signature.cpp b/sources/shiboken2/libshiboken/signature.cpp
index 7333870d..cca0847b 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.