diff Objects/tupleobject.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 86a2679dca46
line wrap: on
line diff
--- a/Objects/tupleobject.c	Sun Dec 02 09:40:06 2007 +0000
+++ b/Objects/tupleobject.c	Sun Dec 02 14:31:20 2007 +0000
@@ -828,7 +828,7 @@
 	Py_ssize_t len = 0;
 	if (it->it_seq)
 		len = PyTuple_GET_SIZE(it->it_seq) - it->it_index;
-	return PyInt_FromSsize_t(len);
+	return PyLong_FromSsize_t(len);
 }
 
 PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of len(list(it)).");