summaryrefslogtreecommitdiffstats
path: root/Doc/library
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)
commit0f1e3ac897294213c65b58577501c4f2c169d482 (patch)
tree570cb3e72c1792d488ed08a4f85569d8728bade8 /Doc/library
parentbf38315446ad92f9f8e74a3d35d6d7420badf34e (diff)
downloadcpython-0f1e3ac897294213c65b58577501c4f2c169d482.zip
cpython-0f1e3ac897294213c65b58577501c4f2c169d482.tar.gz
cpython-0f1e3ac897294213c65b58577501c4f2c169d482.tar.bz2
note the blinding speed of these functions
Diffstat (limited to 'Doc/library')
-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 4134d51..b03d9df 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -12,8 +12,8 @@
from operator import itemgetter, iadd
-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.