Commit 34fed3a3 authored by Fred Drake's avatar Fred Drake

fix stupid typo

parent b7935060
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment