]> granicus.if.org Git - python/commitdiff
Make expression legal python by adding '1'.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 23 May 2015 20:16:28 +0000 (16:16 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 23 May 2015 20:16:28 +0000 (16:16 -0400)
Doc/library/functions.rst

index d9e5cfb5fc91241357e77276c0b2c94cf5701323..5377335a6e6eb30bdf37b0fcbc49863ee83959d9 100644 (file)
@@ -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