summaryrefslogtreecommitdiffstats
path: root/sip/qt/qstringlist.sip
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-19 23:34:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-19 23:34:11 +0900
commit1c362264d328c8886d33061ab992750741f7933a (patch)
treec56b482a6539c2992c97f3fe1bcb4d8ec46ef53f /sip/qt/qstringlist.sip
parent6054548c2546819cb0413bf6438087f5fe8f4ab4 (diff)
downloadpytqt-1c362264.tar.gz
pytqt-1c362264.zip
Remove/replace old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/qt/qstringlist.sip')
-rw-r--r--sip/qt/qstringlist.sip12
1 files changed, 0 insertions, 12 deletions
diff --git a/sip/qt/qstringlist.sip b/sip/qt/qstringlist.sip
index d7ece81..54e049d 100644
--- a/sip/qt/qstringlist.sip
+++ b/sip/qt/qstringlist.sip
@@ -105,11 +105,7 @@ public:
void __setitem__(SIP_PYSLICE,const TQStringList &);
%MethodCode
-#if PY_VERSION_HEX >= 0x02050000
Py_ssize_t len, start, stop, step, slicelength, i;
-#else
- int len, start, stop, step, slicelength, i;
-#endif
len = sipCpp -> count();
@@ -152,11 +148,7 @@ public:
void __delitem__(SIP_PYSLICE);
%MethodCode
-#if PY_VERSION_HEX >= 0x02050000
Py_ssize_t len, start, stop, step, slicelength, i;
-#else
- int len, start, stop, step, slicelength, i;
-#endif
len = sipCpp -> count();
@@ -184,11 +176,7 @@ public:
TQStringList operator[](SIP_PYSLICE slice);
%MethodCode
-#if PY_VERSION_HEX >= 0x02050000
Py_ssize_t len, start, stop, step, slicelength, i;
-#else
- int len, start, stop, step, slicelength, i;
-#endif
len = sipCpp -> count();