diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-22 13:41:16 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-22 21:16:37 +0900 |
| commit | 3e5815bce63e9e476bdeb58cbe230239622e1ba5 (patch) | |
| tree | 8fd8d6fe17a2a0d3dd78560c5114331a6c93b616 /siplib/apiversions.c | |
| parent | 1d30924b9dd0740b726ae10b0aa4e6b6a6ea213a (diff) | |
| download | sip4-tqt-3e5815bce63e9e476bdeb58cbe230239622e1ba5.tar.gz sip4-tqt-3e5815bce63e9e476bdeb58cbe230239622e1ba5.zip | |
Remove old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 } |
