summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-20 16:13:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-20 16:13:05 (GMT)
commit97193c1a1600141107e78c851058098404c73d62 (patch)
treeb2ed3f3bd5f511c06b790e1880f87401d32e627f /Doc
parent1743db5c1066afe1a32c9840aa1f8f376a80ef5a (diff)
parent0f1e3ac897294213c65b58577501c4f2c169d482 (diff)
downloadcpython-97193c1a1600141107e78c851058098404c73d62.zip
cpython-97193c1a1600141107e78c851058098404c73d62.tar.gz
cpython-97193c1a1600141107e78c851058098404c73d62.tar.bz2
merge 3.2
Diffstat (limited to 'Doc')
-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.