mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
fix stupid typo
This commit is contained in:
parent
b79350601b
commit
34fed3a3b7
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ main(int argc, char *argv[])
|
||||||
Py_DECREF(pName);
|
Py_DECREF(pName);
|
||||||
|
|
||||||
if (pModule != NULL) {
|
if (pModule != NULL) {
|
||||||
pFunc = PyDict_GetAttrString(pModule, argv[2]);
|
pFunc = PyDict_GetItemString(pModule, argv[2]);
|
||||||
/* pFunc is a new reference */
|
/* pFunc is a new reference */
|
||||||
|
|
||||||
if (pFunc && PyCallable_Check(pFunc)) {
|
if (pFunc && PyCallable_Check(pFunc)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue