diff options
Diffstat (limited to 'siplib/apiversions.c')
-rw-r--r-- | siplib/apiversions.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/siplib/apiversions.c b/siplib/apiversions.c index f278c6b..cb2aaa6 100644 --- a/siplib/apiversions.c +++ b/siplib/apiversions.c @@ -194,11 +194,7 @@ PyObject *sipGetAPI(PyObject *self, PyObject *args) return NULL; } -#if PY_MAJOR_VERSION >= 3 return PyLong_FromLong(avd->version_nr); -#else - return PyInt_FromLong(avd->version_nr); -#endif } |