diff --git a/doc/html/_sources/directives.txt b/doc/html/_sources/directives.txt index 7e3a2e0..99bab2a 100644 --- a/doc/html/_sources/directives.txt +++ b/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. diff --git a/doc/html/directives.html b/doc/html/directives.html index 1ae1c60..8333659 100644 --- a/doc/html/directives.html +++ b/doc/html/directives.html @@ -406,7 +406,7 @@ list of TQWidget 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.

return NULL; } - PyList_SET_ITEM(l, i, tobj); + PyList_SetItem(l, i, tobj); } // Return the Python list. diff --git a/sphinx/directives.rst b/sphinx/directives.rst index 7e3a2e0..99bab2a 100644 --- a/sphinx/directives.rst +++ b/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.