diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-12 09:32:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-12 09:32:38 +0900 |
commit | 65411c74aa20ff9a95283533954ea77ee25792a2 (patch) | |
tree | 15aace2d3d7a163e0f349dbfb5165071528e25c2 | |
parent | 7ba42131b73648e307ca5b1f21e7d2c2052ff09e (diff) | |
download | sip4-tqt-65411c74aa20ff9a95283533954ea77ee25792a2.tar.gz sip4-tqt-65411c74aa20ff9a95283533954ea77ee25792a2.zip |
Replaced PyList_SET_ITEM as done in python-tqt.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | doc/html/_sources/directives.txt | 4 | ||||
-rw-r--r-- | doc/html/directives.html | 4 | ||||
-rw-r--r-- | sphinx/directives.rst | 4 |
3 files changed, 6 insertions, 6 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. diff --git a/doc/html/directives.html b/doc/html/directives.html index 7f95891..1e8ee1f 100644 --- a/doc/html/directives.html +++ b/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. diff --git a/sphinx/directives.rst b/sphinx/directives.rst index ecaaa5b..858f112 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. |