Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abfa90 commit b9ab7a5Copy full SHA for b9ab7a5
1 file changed
Doc/ext/run-func.c
@@ -20,7 +20,7 @@ main(int argc, char *argv[])
20
Py_DECREF(pName);
21
22
if (pModule != NULL) {
23
- pFunc = PyDict_GetItemString(pModule, argv[2]);
+ pFunc = PyDict_GetAttrString(pModule, argv[2]);
24
/* pFunc is a new reference */
25
26
if (pFunc && PyCallable_Check(pFunc)) {
0 commit comments