File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 from operator import itemgetter, iadd
1313
1414
15- The :mod: `operator ` module exports a set of functions implemented in C
16- corresponding to the intrinsic operators of Python. For example,
17- `` operator.add(x, y) `` is equivalent to the expression ``x+y ``. The function
18- names are those used for special class methods; variants without leading and
19- trailing `` __ `` are also provided for convenience.
15+ The :mod: `operator ` module exports a set of functions corresponding to the
16+ intrinsic operators of Python. For example, `` operator.add(x, y) `` is
17+ equivalent to the expression ``x+y ``. The function names are those used for
18+ special class methods; variants without leading and trailing `` __ `` are also
19+ provided for convenience.
2020
2121The functions fall into categories that perform object comparisons, logical
2222operations, mathematical operations and sequence operations.
You can’t perform that action at this time.
0 commit comments