[Python-checkins] cpython (3.2): remove duplicated type ready

benjamin.peterson python-checkins at python.org
Sat Jul 30 05:45:00 CEST 2011


http://hg.python.org/cpython/rev/44ff619b5957
changeset:   71622:44ff619b5957
branch:      3.2
parent:      71612:5d7a2bd9a3d1
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Jul 29 22:44:42 2011 -0500
summary:
  remove duplicated type ready

files:
  Objects/object.c |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Objects/object.c b/Objects/object.c
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1538,9 +1538,6 @@
     if (PyType_Ready(&PyNone_Type) < 0)
         Py_FatalError("Can't initialize None type");
 
-    if (PyType_Ready(Py_Ellipsis->ob_type) < 0)
-        Py_FatalError("Can't initialize type(Ellipsis)");
-
     if (PyType_Ready(&PyNotImplemented_Type) < 0)
         Py_FatalError("Can't initialize NotImplemented type");
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list