summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-05-23 20:16:23 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-05-23 20:16:23 (GMT)
commit13ab3a46ae8271cbd5b4f47908dd23dfdab2ecd7 (patch)
tree26b9aa7e6362562735b8a8088e2534fa89eb5e28 /Doc
parent60ab9ccf56d871892b2885390e9575e3bad85495 (diff)
downloadcpython-13ab3a46ae8271cbd5b4f47908dd23dfdab2ecd7.zip
cpython-13ab3a46ae8271cbd5b4f47908dd23dfdab2ecd7.tar.gz
cpython-13ab3a46ae8271cbd5b4f47908dd23dfdab2ecd7.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 8af9f58..f8f8780 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -261,7 +261,7 @@ section.
.. 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