]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44019: Add operator.call() to __all__ for the operator module (GH-29110)
authorKreus Amredes <67752638+Kreusada@users.noreply.github.com>
Thu, 21 Oct 2021 10:05:36 +0000 (11:05 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 10:05:36 +0000 (19:05 +0900)
Lib/operator.py
Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst [new file with mode: 0644]

index 72105be05f1c24cabdd292fa4524987b7f54e89d..30116c1189a49958e97b2b0b3f1a25e131087a5c 100644 (file)
@@ -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 (file)
index 0000000..1793603
--- /dev/null
@@ -0,0 +1 @@
+Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada.