cpython/Misc/NEWS.d/next/Core and Builtins/2024-05-27-19-13-49.gh-issu...

4 lines
199 B
ReStructuredText

:func:`complex` accepts now a string only as a positional argument. Passing
a complex number as the "real" or "imag" argument is deprecated; it should
only be passed as a single positional argument.