cpython: d85efd73b0e1 (original) (raw)
Mercurial > cpython
changeset 74088:d85efd73b0e1 3.2
don't mention implementation detail
Benjamin Peterson benjamin@python.org | |
---|---|
date | Mon, 19 Dec 2011 16:41:11 -0500 |
parents | 71e5a083f9b1 |
children | ab5d39caad6f 9dee8a095faf |
files | Doc/library/operator.rst |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-)[+] [-] Doc/library/operator.rst 10 |
line wrap: on
line diff
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -12,11 +12,11 @@
from operator import itemgetter, iadd
-The :mod:operator
module exports a set of functions implemented in C
-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.
+The :mod:operator
module exports a set of 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.
The functions fall into categories that perform object comparisons, logical
operations, mathematical operations and sequence operations.