[Python-checkins] cpython (3.4): Make expression legal python by adding '1'.

terry.reedy python-checkins at python.org
Sat May 23 22:17:10 CEST 2015


https://hg.python.org/cpython/rev/8c6170954789
changeset:   96248:8c6170954789
branch:      3.4
parent:      96232:a43f5515e3a2
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sat May 23 16:16:28 2015 -0400
summary:
  Make expression legal python by adding '1'.

files:
  Doc/library/functions.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -248,7 +248,7 @@
 
 .. 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list