diff options
author | Michele Calgaro <[email protected]> | 2023-01-03 15:29:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-01-07 22:14:56 +0900 |
commit | 4ce11cc30df1805459a615960fdec204a975548a (patch) | |
tree | 084f1e1fa404bdf0d082b1a58acf392b5d177326 /sip/tdecore/tdeconfig.sip | |
parent | 065f41b4908b11278d4334e8c85150ec0fd4a9f6 (diff) | |
download | pytde-4ce11cc30df1805459a615960fdec204a975548a.tar.gz pytde-4ce11cc30df1805459a615960fdec204a975548a.zip |
Drop python2 support.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'sip/tdecore/tdeconfig.sip')
-rw-r--r-- | sip/tdecore/tdeconfig.sip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/tdecore/tdeconfig.sip b/sip/tdecore/tdeconfig.sip index f93133f..c955aaa 100644 --- a/sip/tdecore/tdeconfig.sip +++ b/sip/tdecore/tdeconfig.sip @@ -217,7 +217,7 @@ private: // Convert a Python instance to a Ptr on the heap. if (sipIsErr == NULL) - return PyInstance_Check(sipPy); + return PyType_Check(sipPy); int iserr = 0; TDESharedConfig *cpp = (TDESharedConfig *)sipForceConvertToType(sipPy, sipType_TDESharedConfig, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); |