summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-05-23 20:16:28 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-05-23 20:16:28 (GMT)
commit43cba219d520d6c7449ac2900ca9528efa745c09 (patch)
tree8658e6fd23e6748e7ae8de5d5b8548f25508377f /Doc
parentc4ae86e47730a4466a8d6ebae4c5531bf1dfca3b (diff)
downloadcpython-43cba219d520d6c7449ac2900ca9528efa745c09.zip
cpython-43cba219d520d6c7449ac2900ca9528efa745c09.tar.gz
cpython-43cba219d520d6c7449ac2900ca9528efa745c09.tar.bz2
Make expression legal python by adding '1'.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index d9e5cfb..5377335 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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