[Python-checkins] r69433 - python/trunk/Objects/abstract.c
mark.dickinson
python-checkins at python.org
Sun Feb 8 14:58:10 CET 2009
Author: mark.dickinson
Date: Sun Feb 8 14:58:10 2009
New Revision: 69433
Log:
Remove redundant assignment in _PyObject_LengthHint
Modified:
python/trunk/Objects/abstract.c
Modified: python/trunk/Objects/abstract.c
==============================================================================
--- python/trunk/Objects/abstract.c (original)
+++ python/trunk/Objects/abstract.c Sun Feb 8 14:58:10 2009
@@ -123,7 +123,7 @@
PyErr_Clear();
return defaultvalue;
}
- rv = rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue;
+ rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue;
Py_DECREF(ro);
return rv;
}
More information about the Python-checkins
mailing list