[Python-checkins] r74184 - python/trunk/Doc/library/cmath.rst
georg.brandl
python-checkins at python.org
Thu Jul 23 09:08:59 CEST 2009
Author: georg.brandl
Date: Thu Jul 23 09:08:58 2009
New Revision: 74184
Log:
#6548: dont suggest existence of real and imag functions in cmath.
Modified:
python/trunk/Doc/library/cmath.rst
Modified: python/trunk/Doc/library/cmath.rst
==============================================================================
--- python/trunk/Doc/library/cmath.rst (original)
+++ python/trunk/Doc/library/cmath.rst Thu Jul 23 09:08:58 2009
@@ -28,15 +28,15 @@
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 @@
.. data:: pi
- The mathematical constant *pi*, as a float.
+ The mathematical constant *π*, as a float.
.. data:: e
More information about the Python-checkins
mailing list