diff Modules/_elementtree.c @ 44099:f324631462a2

Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
author Christian Heimes <christian@cheimes.de>
date Sun, 02 Dec 2007 14:31:20 +0000
parents a8f13a43eaa1
children 86a2679dca46
line wrap: on
line diff
--- a/Modules/_elementtree.c	Sun Dec 02 09:40:06 2007 +0000
+++ b/Modules/_elementtree.c	Sun Dec 02 14:31:20 2007 +0000
@@ -677,7 +677,7 @@
     }
 
     /* add object to memo dictionary (so deepcopy won't visit it again) */
-    id = PyInt_FromLong((Py_uintptr_t) self);
+    id = PyLong_FromLong((Py_uintptr_t) self);
 
     i = PyDict_SetItem(memo, id, (PyObject*) element);