[Python-checkins] cpython (2.7): note the blinding speed of these functions
benjamin.peterson
python-checkins at python.org
Tue Dec 20 17:13:54 CET 2011
http://hg.python.org/cpython/rev/5e939912f9f8
changeset: 74099:5e939912f9f8
branch: 2.7
parent: 74093:c9facd251725
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
-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