summaryrefslogtreecommitdiffstats
path: root/Python/getargs.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 /Python/getargs.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 'Python/getargs.c')
-rw-r--r--Python/getargs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 486cf7d..f41cd05 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -818,7 +818,6 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
break;
}
-#ifndef WITHOUT_COMPLEX
case 'D': {/* complex double */
Py_complex *p = va_arg(*p_va, Py_complex *);
Py_complex cval;
@@ -829,7 +828,6 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
*p = cval;
break;
}
-#endif /* WITHOUT_COMPLEX */
case 'c': {/* char */
char *p = va_arg(*p_va, char *);
@@ -1772,9 +1770,7 @@ skipitem(const char **p_format, va_list *p_va, int flags)
#endif
case 'f': /* float */
case 'd': /* double */
-#ifndef WITHOUT_COMPLEX
case 'D': /* complex double */
-#endif
case 'c': /* char */
{
(void) va_arg(*p_va, void *);