diff options
author | Georg Brandl <georg@python.org> | 2005-07-12 13:20:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-07-12 13:20:49 (GMT) |
commit | b9ab7a584dd6eef16661c9a8689a947de4c50e5d (patch) | |
tree | d3cf309f1590fc9e8989831dd314dff32193878d /Doc/ext | |
parent | 9abfa90a6ddd0ec00060bc371c62bcdae42aceaf (diff) | |
download | cpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.zip cpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.tar.gz cpython-b9ab7a584dd6eef16661c9a8689a947de4c50e5d.tar.bz2 |
Oops.
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/run-func.c | 2 |
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)) { |