Replaced PyList_SET_ITEM as done in python-tqt.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 3 years ago
parent 7ba42131b7
commit 65411c74aa
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -397,7 +397,7 @@ list of ``QWidget`` instances::
}
// Add the wrapper to the list.
PyList_SET_ITEM(l, i, wobj);
PyList_SetItem(l, i, wobj);
}
// Return the Python list.
@ -1387,7 +1387,7 @@ For example::
return NULL;
}
PyList_SET_ITEM(l, i, tobj);
PyList_SetItem(l, i, tobj);
}
// 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.
PyList_SET_ITEM(l, i, wobj);
PyList_SetItem(l, i, wobj);
}
// Return the Python list.
@ -1325,7 +1325,7 @@ object.</p>
return NULL;
}
PyList_SET_ITEM(l, i, tobj);
PyList_SetItem(l, i, tobj);
}
// Return the Python list.

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

Loading…
Cancel
Save