From 13ab3a46ae8271cbd5b4f47908dd23dfdab2ecd7 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 23 May 2015 16:16:23 -0400 Subject: Make expression legal python by adding '1'. --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12