diff options
author | Fred Drake <fdrake@acm.org> | 2005-10-11 20:26:05 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-10-11 20:26:05 (GMT) |
commit | 34fed3a3b7f689ae40a13232f5c42ac8ad1a9738 (patch) | |
tree | b8034e0c552a28e58f06556c833cc3bfc8d3d69c | |
parent | b79350601bc3faea4ca97d537ba887810daf0ba0 (diff) | |
download | cpython-34fed3a3b7f689ae40a13232f5c42ac8ad1a9738.zip cpython-34fed3a3b7f689ae40a13232f5c42ac8ad1a9738.tar.gz cpython-34fed3a3b7f689ae40a13232f5c42ac8ad1a9738.tar.bz2 |
fix stupid typo
-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 66e97c0..ff74290 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)) { |