summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-31 20:59:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-03-31 20:59:52 (GMT)
commit112226f962d2aa2779ead60aeaee9d87ed249307 (patch)
tree22f117e74d59f8e6689418ee4caebbc6ce1904eb
parent7ad24e9a735f27d71c8dcc7dadad8b05c5afdcbd (diff)
parent12e6c256cad9161de894106a297e88587625a6ee (diff)
downloadcpython-112226f962d2aa2779ead60aeaee9d87ed249307.zip
cpython-112226f962d2aa2779ead60aeaee9d87ed249307.tar.gz
cpython-112226f962d2aa2779ead60aeaee9d87ed249307.tar.bz2
Fix markup and wording.
-rw-r--r--Doc/library/math.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index a5be90e..98c5b33 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -326,8 +326,8 @@ Special functions
Return the complementary error function at *x*. The `complementary error
function <http://en.wikipedia.org/wiki/Error_function>`_ is defined as
- ``1.0 - erf(x)``. It is used for large values of *x* where a straight
- substraction from *1* would cause a `loss of significance
+ ``1.0 - erf(x)``. It is used for large values of *x* where a subtraction
+ from one would cause a `loss of significance
<http://en.wikipedia.org/wiki/Loss_of_significance>`_\.
.. versionadded:: 3.2
@@ -335,7 +335,8 @@ Special functions
.. function:: gamma(x)
- Return the `Gamma function<http://en.wikipedia.org/wiki/Gamma_function>` at *x*.
+ Return the `Gamma function <http://en.wikipedia.org/wiki/Gamma_function>`_ at
+ *x*.
.. versionadded:: 3.2