diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-19 23:34:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-19 23:34:11 +0900 |
commit | 1c362264d328c8886d33061ab992750741f7933a (patch) | |
tree | c56b482a6539c2992c97f3fe1bcb4d8ec46ef53f /sip/qt/qstrlist.sip | |
parent | 6054548c2546819cb0413bf6438087f5fe8f4ab4 (diff) | |
download | pytqt-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.sip | 2 |
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); |