summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-12 13:20:49 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-12 13:20:49 (GMT)
commitb9ab7a584dd6eef16661c9a8689a947de4c50e5d (patch)
treed3cf309f1590fc9e8989831dd314dff32193878d /Doc/ext
parent9abfa90a6ddd0ec00060bc371c62bcdae42aceaf (diff)
downloadcpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.zip
cpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.tar.gz
cpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.tar.bz2
Oops.
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/run-func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/run-func.c b/Doc/ext/run-func.c
index ff74290..66e97c0 100644
--- a/Doc/ext/run-func.c
+++ b/Doc/ext/run-func.c
@@ -20,7 +20,7 @@ main(int argc, char *argv[])
Py_DECREF(pName);
if (pModule != NULL) {
- pFunc = PyDict_GetItemString(pModule, argv[2]);
+ pFunc = PyDict_GetAttrString(pModule, argv[2]);
/* pFunc is a new reference */
if (pFunc && PyCallable_Check(pFunc)) {