Skip to content

Commit a53456e

Browse files
authored
bpo-44019: Add operator.call() to __all__ for the operator module (GH-29110)
1 parent 8a310dd commit a53456e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
This is the pure Python implementation of the module.
1111
"""
1212

13-
__all__ = ['abs', 'add', 'and_', 'attrgetter', 'concat', 'contains', 'countOf',
13+
__all__ = ['abs', 'add', 'and_', 'attrgetter', 'call', 'concat', 'contains', 'countOf',
1414
'delitem', 'eq', 'floordiv', 'ge', 'getitem', 'gt', 'iadd', 'iand',
1515
'iconcat', 'ifloordiv', 'ilshift', 'imatmul', 'imod', 'imul',
1616
'index', 'indexOf', 'inv', 'invert', 'ior', 'ipow', 'irshift',
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada.

0 commit comments

Comments
 (0)