aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken2/libshiboken/signature.cpp5
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.