commit | b9ab7a584dd6eef16661c9a8689a947de4c50e5d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Jul 12 13:20:49 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Jul 12 13:20:49 2005 +0000 |
tree | d3cf309f1590fc9e8989831dd314dff32193878d | |
parent | 9abfa90a6ddd0ec00060bc371c62bcdae42aceaf [diff] [blame] |
Oops.
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 @@ 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)) {