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/qtnetwork/qsocketdevice.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/qtnetwork/qsocketdevice.sip')
-rw-r--r-- | sip/qtnetwork/qsocketdevice.sip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip index 12d6b67..32ee5e5 100644 --- a/sip/qtnetwork/qsocketdevice.sip +++ b/sip/qtnetwork/qsocketdevice.sip @@ -123,7 +123,7 @@ public: Py_INCREF(Py_None); sipRes = Py_None; } - else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL) + else if ((sipRes = PyBytes_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; sipFree((void *)buf); |