summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-02-28 17:16:25 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-02-28 17:16:25 (GMT)
commitef17fdbc1c274dc84c2f611c40449ab84824607e (patch)
tree10619b6016709e2339455421d15c4b9bac2fd2c4 /Doc
parentae2ea33d5da34a777e77d489b700ff45d753934f (diff)
downloadcpython-ef17fdbc1c274dc84c2f611c40449ab84824607e.zip
cpython-ef17fdbc1c274dc84c2f611c40449ab84824607e.tar.gz
cpython-ef17fdbc1c274dc84c2f611c40449ab84824607e.tar.bz2
bpo-36018: Add special value tests and make minor tweaks to the docs (GH-12096)
https://bugs.python.org/issue36018
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/statistics.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst
index a0d4d39..8d961b7 100644
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -482,9 +482,9 @@ of applications in statistics, including simulations and hypothesis testing.
.. class:: NormalDist(mu=0.0, sigma=1.0)
Returns a new *NormalDist* object where *mu* represents the `arithmetic
- mean <https://en.wikipedia.org/wiki/Arithmetic_mean>`_ of data and *sigma*
+ mean <https://en.wikipedia.org/wiki/Arithmetic_mean>`_ and *sigma*
represents the `standard deviation
- <https://en.wikipedia.org/wiki/Standard_deviation>`_ of the data.
+ <https://en.wikipedia.org/wiki/Standard_deviation>`_.
If *sigma* is negative, raises :exc:`StatisticsError`.
@@ -579,7 +579,7 @@ of applications in statistics, including simulations and hypothesis testing.
:class:`NormalDist` Examples and Recipes
----------------------------------------
-A :class:`NormalDist` readily solves classic probability problems.
+:class:`NormalDist` readily solves classic probability problems.
For example, given `historical data for SAT exams
<https://blog.prepscholar.com/sat-standard-deviation>`_ showing that scores