[Python-checkins] cpython (3.2): note the blinding speed of these functions
benjamin.peterson
python-checkins at python.org
Tue Dec 20 17:13:33 CET 2011
http://hg.python.org/cpython/rev/b68373aeb335
changeset: 74098:b68373aeb335
branch: 3.2
parent: 74094:9dee8a095faf
user: Benjamin Peterson <benjamin at python.org>
date: Tue Dec 20 10:12:41 2011 -0600
summary:
note the blinding speed of these functions
files:
Doc/library/operator.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
--- 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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list