[Python-checkins] python/dist/src/Doc/ext run-func.c,1.5,1.6

birkenfeld@users.sourceforge.net birkenfeld at users.sourceforge.net
Tue Jul 12 15:20:51 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/ext
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5448/Doc/ext

Modified Files:
	run-func.c 
Log Message:
Oops.



Index: run-func.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/run-func.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- run-func.c	12 Jul 2005 13:17:59 -0000	1.5
+++ run-func.c	12 Jul 2005 13:20:49 -0000	1.6
@@ -20,7 +20,7 @@
     Py_DECREF(pName);
 
     if (pModule != NULL) {
-        pFunc = PyDict_GetItemString(pModule, argv[2]);
+        pFunc = PyDict_GetAttrString(pModule, argv[2]);
         /* pFunc is a new reference */
 
         if (pFunc && PyCallable_Check(pFunc)) {



More information about the Python-checkins mailing list