Deprecated since 3.14. Passing a complex number as the real or imag argument is now deprecated; it should only be passed as a single positional argument.
Create a complex number from a string or numbers.
If a string is given, parse it as a complex number.
If a single number is given, convert it to a complex number.
If the 'real' or 'imag' arguments are given, create a complex number
with the specified real and imaginary components.