[Python-checkins] r46547 - python/trunk/Objects/dictobject.c
neal.norwitz
python-checkins at python.org
Tue May 30 06:43:24 CEST 2006
Author: neal.norwitz
Date: Tue May 30 06:43:23 2006
New Revision: 46547
Modified:
python/trunk/Objects/dictobject.c
Log:
No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr returns an int
Modified: python/trunk/Objects/dictobject.c
==============================================================================
--- python/trunk/Objects/dictobject.c (original)
+++ python/trunk/Objects/dictobject.c Tue May 30 06:43:23 2006
@@ -764,7 +764,7 @@
register Py_ssize_t i;
register Py_ssize_t any;
- i = Py_SAFE_DOWNCAST(Py_ReprEnter((PyObject*)mp), Py_ssize_t, int);
+ i = Py_ReprEnter((PyObject*)mp);
if (i != 0) {
if (i < 0)
return i;
More information about the Python-checkins
mailing list