summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-11-12 07:35:06 (GMT)
committerGitHub <noreply@github.com>2019-11-12 07:35:06 (GMT)
commit733b9a308e3c49855888e2e12397ae56d831e780 (patch)
tree14b13aac1fe22da48e9d740ae8de07f82548f388 /Lib/statistics.py
parent051ff526b5dc2c40c4a53d87089740358822edfa (diff)
downloadcpython-733b9a308e3c49855888e2e12397ae56d831e780.zip
cpython-733b9a308e3c49855888e2e12397ae56d831e780.tar.gz
cpython-733b9a308e3c49855888e2e12397ae56d831e780.tar.bz2
bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111)
Diffstat (limited to 'Lib/statistics.py')
-rw-r--r--Lib/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statistics.py b/Lib/statistics.py
index 461ffae..1e95c0b 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -744,7 +744,7 @@ def variance(data, xbar=None):
def pvariance(data, mu=None):
"""Return the population variance of ``data``.
- data should be a sequence or iterator of Real-valued numbers, with at least one
+ data should be a sequence or iterable of Real-valued numbers, with at least one
value. The optional argument mu, if given, should be the mean of
the data. If it is missing or None, the mean is automatically calculated.