summaryrefslogtreecommitdiffstats
path: root/sip/qt/qstrlist.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/qstrlist.sip
parent6054548c2546819cb0413bf6438087f5fe8f4ab4 (diff)
downloadpytqt-1c362264d328c8886d33061ab992750741f7933a.tar.gz
pytqt-1c362264d328c8886d33061ab992750741f7933a.zip
Remove/replace old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/qt/qstrlist.sip')
-rw-r--r--sip/qt/qstrlist.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qt/qstrlist.sip b/sip/qt/qstrlist.sip
index 2a35b65..40265a7 100644
--- a/sip/qt/qstrlist.sip
+++ b/sip/qt/qstrlist.sip
@@ -57,7 +57,7 @@ is used instead.
{
PyObject *ps;
- if ((ps = SIPBytes_FromString(s)) == NULL || PyList_SetItem(l,i,ps) < 0)
+ if ((ps = PyBytes_FromString(s)) == NULL || PyList_SetItem(l,i,ps) < 0)
{
Py_XDECREF(ps);
Py_DECREF(l);