summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-18 16:41:32 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-18 16:41:32 (GMT)
commit01458c7a62cb3fc79e84e7326c5553e8143c4760 (patch)
tree2698c2962d9f252e600fffc46d48f2c53a453531 /Python
parentba1e0f46ab5a83be1a367b0eadb2f783e06228b3 (diff)
downloadcpython-01458c7a62cb3fc79e84e7326c5553e8143c4760.zip
cpython-01458c7a62cb3fc79e84e7326c5553e8143c4760.tar.gz
cpython-01458c7a62cb3fc79e84e7326c5553e8143c4760.tar.bz2
Remove the uses of WITHOUT_COMPLEX introduced in r75471
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
-rw-r--r--Python/formatter_unicode.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 081268b..2bb9beb 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -911,7 +911,6 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o)
else
t = PyTuple_Pack(2, o, o->ob_type);
}
-#ifndef WITHOUT_COMPLEX
else if (PyComplex_Check(o)) {
Py_complex z;
int real_part_zero, imag_part_zero;
@@ -945,7 +944,6 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o)
t = PyTuple_Pack(2, o, o->ob_type);
}
}
-#endif /* WITHOUT_COMPLEX */
else {
t = PyTuple_Pack(2, o, o->ob_type);
}
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 79cb5f9..c350907 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -9,8 +9,6 @@
#define FORMAT_STRING _PyUnicode_FormatAdvanced
#define FORMAT_LONG _PyLong_FormatAdvanced
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
-#ifndef WITHOUT_COMPLEX
#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
-#endif
#include "../Objects/stringlib/formatter.h"