summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-23 07:08:58 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-23 07:08:58 (GMT)
commit0e66914907413af366c74f01af81dcb8adb13929 (patch)
treed966462c2ab282b0d639e67b5fbe5e738ea97a29
parent7fc214b55d9b1d7bc87d54edac43cdb23dfe2017 (diff)
downloadcpython-0e66914907413af366c74f01af81dcb8adb13929.zip
cpython-0e66914907413af366c74f01af81dcb8adb13929.tar.gz
cpython-0e66914907413af366c74f01af81dcb8adb13929.tar.bz2
#6548: dont suggest existence of real and imag functions in cmath.
-rw-r--r--Doc/library/cmath.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst
index 4469573..2c1f1cf 100644
--- a/Doc/library/cmath.rst
+++ b/Doc/library/cmath.rst
@@ -28,15 +28,15 @@ Complex coordinates
Complex numbers can be expressed by two important coordinate systems.
Python's :class:`complex` type uses rectangular coordinates where a number
-on the complex plain is defined by two floats, the real part and the imaginary
+on the complex plane is defined by two floats, the real part and the imaginary
part.
Definition::
z = x + 1j * y
- x := real(z)
- y := imag(z)
+ x := z.real
+ y := z.imag
In engineering the polar coordinate system is popular for complex numbers. In
polar coordinates a complex number is defined by the radius *r* and the phase
@@ -216,7 +216,7 @@ The module also defines two mathematical constants:
.. data:: pi
- The mathematical constant *pi*, as a float.
+ The mathematical constant *π*, as a float.
.. data:: e