diff options
author | Guido van Rossum <guido@python.org> | 1996-07-21 02:27:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-21 02:27:43 (GMT) |
commit | 530956d247fd01cb4e3bdc0dedd7ab3e0b9a8b13 (patch) | |
tree | 346bc758298b88c54912f892dd8d1e27abc9bb11 /Python/getargs.c | |
parent | 519b4339f1ac649a10ef5db03a05a47d88ee6072 (diff) | |
download | cpython-530956d247fd01cb4e3bdc0dedd7ab3e0b9a8b13.zip cpython-530956d247fd01cb4e3bdc0dedd7ab3e0b9a8b13.tar.gz cpython-530956d247fd01cb4e3bdc0dedd7ab3e0b9a8b13.tar.bz2 |
Py_complex; and WITHOUT_COMPLEX added to getargs.c
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 7ec31c3..0c47614 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -498,16 +498,18 @@ convertsimple1(arg, p_format, p_va) break; } +#ifndef WITHOUT_COMPLEX case 'D': /* complex double */ { - complex *p = va_arg(*p_va, complex *); - complex cval = PyComplex_AsCComplex(arg); + Py_complex *p = va_arg(*p_va, Py_complex *); + Py_complex cval = PyComplex_AsCComplex(arg); if (err_occurred()) return "complex<D>"; else *p = cval; break; } +#endif /* WITHOUT_COMPLEX */ case 'c': /* char */ { |