summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2009-10-18 14:25:35 (GMT)
committerSkip Montanaro <skip@pobox.com>2009-10-18 14:25:35 (GMT)
commitba1e0f46ab5a83be1a367b0eadb2f783e06228b3 (patch)
treedd688b778427cfdd6e4786322fd6ede99fd6bfbb /Objects/object.c
parent6ead552b47ecc4e7d85a03b3b662c6d46e59bec3 (diff)
downloadcpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.zip
cpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.tar.gz
cpython-ba1e0f46ab5a83be1a367b0eadb2f783e06228b3.tar.bz2
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index e8ac8a2..90cdc74 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1536,10 +1536,9 @@ _Py_ReadyTypes(void)
if (PyType_Ready(&PyStaticMethod_Type) < 0)
Py_FatalError("Can't initialize static method type");
-#ifndef WITHOUT_COMPLEX
if (PyType_Ready(&PyComplex_Type) < 0)
Py_FatalError("Can't initialize complex type");
-#endif
+
if (PyType_Ready(&PyFloat_Type) < 0)
Py_FatalError("Can't initialize float type");