Replaced PyList_SET_ITEM as done in python-tqt.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 65411c74aa)
r14.0.x r14.0.11
Michele Calgaro 3 years ago
parent cbedd4c5a2
commit 42834e56c9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -397,7 +397,7 @@ list of ``QWidget`` instances::
} }
// Add the wrapper to the list. // Add the wrapper to the list.
PyList_SET_ITEM(l, i, wobj); PyList_SetItem(l, i, wobj);
} }
// Return the Python list. // Return the Python list.
@ -1387,7 +1387,7 @@ For example::
return NULL; return NULL;
} }
PyList_SET_ITEM(l, i, tobj); PyList_SetItem(l, i, tobj);
} }
// Return the Python list. // Return the Python list.

@ -406,7 +406,7 @@ list of <tt class="docutils literal"><span class="pre">TQWidget</span></tt> inst
} }
// Add the wrapper to the list. // Add the wrapper to the list.
PyList_SET_ITEM(l, i, wobj); PyList_SetItem(l, i, wobj);
} }
// Return the Python list. // Return the Python list.
@ -1325,7 +1325,7 @@ object.</p>
return NULL; return NULL;
} }
PyList_SET_ITEM(l, i, tobj); PyList_SetItem(l, i, tobj);
} }
// Return the Python list. // Return the Python list.

@ -397,7 +397,7 @@ list of ``QWidget`` instances::
} }
// Add the wrapper to the list. // Add the wrapper to the list.
PyList_SET_ITEM(l, i, wobj); PyList_SetItem(l, i, wobj);
} }
// Return the Python list. // Return the Python list.
@ -1387,7 +1387,7 @@ For example::
return NULL; return NULL;
} }
PyList_SET_ITEM(l, i, tobj); PyList_SetItem(l, i, tobj);
} }
// Return the Python list. // Return the Python list.

Loading…
Cancel
Save