[Python-checkins] CVS: python/dist/src/Python import.c,2.172,2.173
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 05 Mar 2001 22:31:17 -0800
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv13885/Python
Modified Files:
import.c
Log Message:
Add some spaces around the "=" in assignments.
Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.172
retrieving revision 2.173
diff -C2 -r2.172 -r2.173
*** import.c 2001/03/02 06:34:14 2.172
--- import.c 2001/03/06 06:31:15 2.173
***************
*** 1944,1950 ****
/* Get the __import__ function from the builtins */
if (PyDict_Check(builtins))
! import=PyObject_GetItem(builtins, import_str);
else
! import=PyObject_GetAttr(builtins, import_str);
if (import == NULL)
goto err;
--- 1944,1950 ----
/* Get the __import__ function from the builtins */
if (PyDict_Check(builtins))
! import = PyObject_GetItem(builtins, import_str);
else
! import = PyObject_GetAttr(builtins, import_str);
if (import == NULL)
goto err;