mirror of
https://github.com/python/cpython.git
synced 2025-12-02 07:37:25 +00:00
don't mention implementation detail
This commit is contained in:
parent
7ded21e917
commit
1c92cfea4a
1 changed files with 5 additions and 5 deletions
|
|
@ -12,11 +12,11 @@
|
||||||
from operator import itemgetter, iadd
|
from operator import itemgetter, iadd
|
||||||
|
|
||||||
|
|
||||||
The :mod:`operator` module exports a set of functions implemented in C
|
The :mod:`operator` module exports a set of functions corresponding to the
|
||||||
corresponding to the intrinsic operators of Python. For example,
|
intrinsic operators of Python. For example, ``operator.add(x, y)`` is
|
||||||
``operator.add(x, y)`` is equivalent to the expression ``x+y``. The function
|
equivalent to the expression ``x+y``. The function names are those used for
|
||||||
names are those used for special class methods; variants without leading and
|
special class methods; variants without leading and trailing ``__`` are also
|
||||||
trailing ``__`` are also provided for convenience.
|
provided for convenience.
|
||||||
|
|
||||||
The functions fall into categories that perform object comparisons, logical
|
The functions fall into categories that perform object comparisons, logical
|
||||||
operations, mathematical operations and sequence operations.
|
operations, mathematical operations and sequence operations.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue