diff Objects/setobject.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 0cc552ab76bd
children 444da08f78a4
line wrap: on
line diff
--- a/Objects/setobject.c	Sun Dec 02 09:40:06 2007 +0000
+++ b/Objects/setobject.c	Sun Dec 02 14:31:20 2007 +0000
@@ -801,7 +801,7 @@
 	Py_ssize_t len = 0;
 	if (si->si_set != NULL && si->si_used == si->si_set->used)
 		len = si->len;
-	return PyInt_FromLong(len);
+	return PyLong_FromLong(len);
 }
 
 PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of len(list(it)).");