mirror of https://github.com/python/cpython
Make expression legal python by adding '1'.
This commit is contained in:
parent
c4ae86e477
commit
43cba219d5
|
@ -248,7 +248,7 @@ are always available. They are listed here in alphabetical order.
|
|||
|
||||
.. class:: complex([real[, imag]])
|
||||
|
||||
Return a complex number with the value *real* + *imag*\*j or convert a string
|
||||
Return a complex number with the value *real* + *imag*\*1j or convert a string
|
||||
or number to a complex number. If the first parameter is a string, it will
|
||||
be interpreted as a complex number and the function must be called without a
|
||||
second parameter. The second parameter can never be a string. Each argument
|
||||
|
|
Loading…
Reference in New Issue