diff options
Diffstat (limited to 'sources/shiboken2/libshiboken/pep384impl.cpp')
-rw-r--r-- | sources/shiboken2/libshiboken/pep384impl.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp index 4df9bc21d..a4a272c2e 100644 --- a/sources/shiboken2/libshiboken/pep384impl.cpp +++ b/sources/shiboken2/libshiboken/pep384impl.cpp @@ -719,21 +719,6 @@ PepRun_GetResult(const char *command) /***************************************************************************** * - * Python 2 incompatibilities - * - * This is incompatibly implemented as macro in Python 2. - */ -#if PY_VERSION_HEX < 0x03000000 - -PyObject *PepMapping_Items(PyObject *o) -{ - return PyObject_CallMethod(o, const_cast<char *>("items"), NULL); -} - -#endif - -/***************************************************************************** - * * Extra support for name mangling * */ |