summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
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.