diff options
Diffstat (limited to 'doc/html/_sources/directives.txt')
-rw-r--r-- | doc/html/_sources/directives.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/_sources/directives.txt b/doc/html/_sources/directives.txt index ecaaa5b..858f112 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. |