mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
don't mention implementation detail
This commit is contained in:
parent
3b8180739d
commit
5879ca1fd9
1 changed files with 5 additions and 5 deletions
|
@ -12,11 +12,11 @@
|
|||
from operator import itemgetter
|
||||
|
||||
|
||||
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, sequence operations, and abstract type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue