commit | 34fed3a3b7f689ae40a13232f5c42ac8ad1a9738 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue Oct 11 20:26:05 2005 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue Oct 11 20:26:05 2005 +0000 |
tree | b8034e0c552a28e58f06556c833cc3bfc8d3d69c | |
parent | b79350601bc3faea4ca97d537ba887810daf0ba0 [diff] [blame] |
fix stupid typo
diff --git a/Doc/ext/run-func.c b/Doc/ext/run-func.c index 66e97c0..ff74290 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_GetAttrString(pModule, argv[2]); + pFunc = PyDict_GetItemString(pModule, argv[2]); /* pFunc is a new reference */ if (pFunc && PyCallable_Check(pFunc)) {