[Python-checkins] cpython: Note that examples are sorted only for convenience.

georg.brandl python-checkins at python.org
Mon Nov 4 07:29:42 CET 2013


http://hg.python.org/cpython/rev/ed8ad769fb1f
changeset:   86910:ed8ad769fb1f
parent:      86906:06239fe781fe
user:        Georg Brandl <georg at python.org>
date:        Mon Nov 04 07:30:50 2013 +0100
summary:
  Note that examples are sorted only for convenience.

files:
  Doc/library/statistics.rst |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -52,6 +52,9 @@
 Function details
 ----------------
 
+Note: The functions do not require the data given to them to be sorted.
+However, for reading convenience, most of the examples show sorted sequences.
+
 .. function:: mean(data)
 
    Return the sample arithmetic mean of *data*, a sequence or iterator of

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list