mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)
This commit is contained in:
parent
6ead552b47
commit
ba1e0f46ab
10 changed files with 4 additions and 32 deletions
|
@ -279,11 +279,9 @@ do_mkvalue(const char **p_format, va_list *p_va, int flags)
|
|||
return PyFloat_FromDouble(
|
||||
(double)va_arg(*p_va, va_double));
|
||||
|
||||
#ifndef WITHOUT_COMPLEX
|
||||
case 'D':
|
||||
return PyComplex_FromCComplex(
|
||||
*((Py_complex *)va_arg(*p_va, Py_complex *)));
|
||||
#endif /* WITHOUT_COMPLEX */
|
||||
|
||||
case 'c':
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue