diff options
author | Christian Tismer <tismer@stackless.com> | 2021-04-18 18:58:18 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2021-09-29 17:34:58 +0200 |
commit | 096cc9c3703f40f1f596cf79a680dabfaad232bd (patch) | |
tree | 328b7d07b98942091eb2ee0464102ed705ee70ad /sources/shiboken6/libshiboken/signature/signature.cpp | |
parent | d6cbd662c9158028ee6d370887abffb495a02f5e (diff) |
PyPySide: adjust more to PyPy's needs
These are the stable changes which are definitely needed for PyPy
to work. Other changes are unclear and stay in the open PyPy patch.
Task-number: PYSIDE-535
Change-Id: I660fba3bba9274026cffe0c21498ac57eb5c3b53
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/libshiboken/signature/signature.cpp')
-rw-r--r-- | sources/shiboken6/libshiboken/signature/signature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/libshiboken/signature/signature.cpp b/sources/shiboken6/libshiboken/signature/signature.cpp index c844e2694..2894dbace 100644 --- a/sources/shiboken6/libshiboken/signature/signature.cpp +++ b/sources/shiboken6/libshiboken/signature/signature.cpp @@ -186,7 +186,7 @@ PyObject *GetSignature_Function(PyObject *obfunc, PyObject *modifier) int flags = PyCFunction_GET_FLAGS(obfunc); PyObject *func_kind; - if (PyModule_Check(obtype_mod)) + if (PyModule_Check(obtype_mod.object())) func_kind = PyName::function(); else if (flags & METH_CLASS) func_kind = PyName::classmethod(); |