summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-20 16:12:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-20 16:12:41 (GMT)
commit587c7381c76986d0ca51a574f249f06959b93f2c (patch)
tree212eb2ff3dd94623bbbe3f6ab31c974d343f7d1a
parent8366b8417b2b2b7aa077e87bc05611014fa1d723 (diff)
downloadcpython-587c7381c76986d0ca51a574f249f06959b93f2c.zip
cpython-587c7381c76986d0ca51a574f249f06959b93f2c.tar.gz
cpython-587c7381c76986d0ca51a574f249f06959b93f2c.tar.bz2
note the blinding speed of these functions
-rw-r--r--Doc/library/operator.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
index e10ca7e..53d45b2 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -12,8 +12,8 @@
from operator import itemgetter
-The :mod:`operator` module exports a set of functions corresponding to the
-intrinsic operators of Python. For example, ``operator.add(x, y)`` is
+The :mod:`operator` module exports a set of efficient functions corresponding to
+the intrinsic operators of Python. For example, ``operator.add(x, y)`` is
equivalent to the expression ``x+y``. The function names are those used for
special class methods; variants without leading and trailing ``__`` are also
provided for convenience.