diff options
Diffstat (limited to 'sources/shiboken2/libshiboken')
-rw-r--r-- | sources/shiboken2/libshiboken/signature.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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. |