summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/html/_sources/directives.txt4
-rw-r--r--doc/html/directives.html4
2 files changed, 4 insertions, 4 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.