Browse Source

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 1 year ago
parent
commit
42834e56c9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 4
      doc/html/_sources/directives.txt
  2. 4
      doc/html/directives.html
  3. 4
      sphinx/directives.rst

4
doc/html/_sources/directives.txt

@ -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.

4
doc/html/directives.html

@ -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.

4
sphinx/directives.rst

@ -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