summaryrefslogtreecommitdiffstats
path: root/sip/qt/qfile.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qfile.sip')
-rw-r--r--sip/qt/qfile.sip4
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/qt/qfile.sip b/sip/qt/qfile.sip
index c89e824..5536c98 100644
--- a/sip/qt/qfile.sip
+++ b/sip/qt/qfile.sip
@@ -136,7 +136,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);
@@ -171,7 +171,7 @@ public:
}
else
{
- sipRes = SIPBytes_FromStringAndSize(buf,actlen);
+ sipRes = PyBytes_FromStringAndSize(buf,actlen);
sipFree((void *)buf);