summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sip/qt/qpainter.sip4
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/qt/qpainter.sip b/sip/qt/qpainter.sip
index e325520..15ef70b 100644
--- a/sip/qt/qpainter.sip
+++ b/sip/qt/qpainter.sip
@@ -289,7 +289,7 @@ public:
do
{
- if (PyList_SET_ITEM(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
+ if (PyList_SetItem(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
{
Py_DECREF(sipRes);
sipIsErr = 1;
@@ -612,7 +612,7 @@ public:
do
{
- if (PyList_SET_ITEM(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
+ if (PyList_SetItem(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
{
Py_DECREF(sipRes);
sipIsErr = 1;