summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKreus Amredes <67752638+Kreusada@users.noreply.github.com>2021-10-21 10:05:36 (GMT)
committerGitHub <noreply@github.com>2021-10-21 10:05:36 (GMT)
commita53456e587c2e935e7e77170d57960e8c80d8a4d (patch)
tree8ea3b58a8b2461e941dbadc754d2abc841180c79
parent8a310dd5f4242b5d28013c1905c6573477e3b957 (diff)
downloadcpython-a53456e587c2e935e7e77170d57960e8c80d8a4d.zip
cpython-a53456e587c2e935e7e77170d57960e8c80d8a4d.tar.gz
cpython-a53456e587c2e935e7e77170d57960e8c80d8a4d.tar.bz2
bpo-44019: Add operator.call() to __all__ for the operator module (GH-29110)
-rw-r--r--Lib/operator.py2
-rw-r--r--Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/operator.py b/Lib/operator.py
index 72105be..30116c1 100644
--- a/Lib/operator.py
+++ b/Lib/operator.py
@@ -10,7 +10,7 @@ for convenience.
This is the pure Python implementation of the module.
"""
-__all__ = ['abs', 'add', 'and_', 'attrgetter', 'concat', 'contains', 'countOf',
+__all__ = ['abs', 'add', 'and_', 'attrgetter', 'call', 'concat', 'contains', 'countOf',
'delitem', 'eq', 'floordiv', 'ge', 'getitem', 'gt', 'iadd', 'iand',
'iconcat', 'ifloordiv', 'ilshift', 'imatmul', 'imod', 'imul',
'index', 'indexOf', 'inv', 'invert', 'ior', 'ipow', 'irshift',
diff --git a/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst
new file mode 100644
index 0000000..1793603
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst
@@ -0,0 +1 @@
+Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada.