[Python-checkins] cpython (2.7): 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/0d16fb337e90
changeset:   96247:0d16fb337e90
branch:      2.7
parent:      96242:df37c0893816
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sat May 23 16:16:23 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
@@ -261,7 +261,7 @@
 
 .. class:: complex([real[, imag]])
 
-   Return a complex number with the value *real* + *imag*\*j or convert a string or
+   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 may be any

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


More information about the Python-checkins mailing list