[Python-checkins] bpo-44019: Add operator.call() to __all__ for the operator module (GH-29110)

corona10 webhook-mailer at python.org
Thu Oct 21 06:05:57 EDT 2021


https://github.com/python/cpython/commit/a53456e587c2e935e7e77170d57960e8c80d8a4d
commit: a53456e587c2e935e7e77170d57960e8c80d8a4d
branch: main
author: Kreus Amredes <67752638+Kreusada at users.noreply.github.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2021-10-21T19:05:36+09:00
summary:

bpo-44019: Add operator.call() to __all__ for the operator module (GH-29110)

files:
A Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst
M Lib/operator.py

diff --git a/Lib/operator.py b/Lib/operator.py
index 72105be05f1c2..30116c1189a49 100644
--- a/Lib/operator.py
+++ b/Lib/operator.py
@@ -10,7 +10,7 @@
 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 0000000000000..1793603637fbb
--- /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.



More information about the Python-checkins mailing list