Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 3766:516490c8192c legacy-trunk
Py_complex; and WITHOUT_COMPLEX added to getargs.c
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 21 Jul 1996 02:27:43 +0000 |
| parents | 6098aaa8ae7f |
| children | 6bbc13b7dca8 |
line wrap: on
line diff
--- a/Python/getargs.c Sun Jul 21 02:24:22 1996 +0000 +++ b/Python/getargs.c Sun Jul 21 02:27:43 1996 +0000 @@ -498,16 +498,18 @@ 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 */ {
