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