From: Fred Drake Date: Tue, 11 Oct 2005 20:25:19 +0000 (+0000) Subject: fix stupid typo X-Git-Tag: v2.4.3c1~242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7704d981600b1b717d36c9e488d9634f2fe2103;p=thirdparty%2FPython%2Fcpython.git fix stupid typo --- diff --git a/Doc/ext/run-func.c b/Doc/ext/run-func.c index 66e97c0aa694..ff7429079553 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_GetAttrString(pModule, argv[2]); + pFunc = PyDict_GetItemString(pModule, argv[2]); /* pFunc is a new reference */ if (pFunc && PyCallable_Check(pFunc)) {