From 2c9f9689ba351a3dd4b64d445f2cd66d7d6197cd Mon Sep 17 00:00:00 2001 From: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Wed, 20 Oct 2021 20:37:49 +0100 Subject: [PATCH 1/4] Add operator.call() to __all__ --- Lib/operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/operator.py b/Lib/operator.py index 72105be05f1c24..30116c1189a499 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', From 4ef4fc94dc6ccf3f475bcc4cc5b71eeb06856dad Mon Sep 17 00:00:00 2001 From: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:17:37 +0100 Subject: [PATCH 2/4] Create 2021-10-21-10-14-22.bpo-44019.Xk4Ncr --- Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr diff --git a/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr new file mode 100644 index 00000000000000..92f1b808de72c8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr @@ -0,0 +1 @@ +Add ``call`` to ``operator.__all__``. Patch by Kreusada. From 6a3371e4207200900197eba77938b1732741ecb8 Mon Sep 17 00:00:00 2001 From: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:17:53 +0100 Subject: [PATCH 3/4] Rename 2021-10-21-10-14-22.bpo-44019.Xk4Ncr to 2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst --- ....bpo-44019.Xk4Ncr => 2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Misc/NEWS.d/next/Library/{2021-10-21-10-14-22.bpo-44019.Xk4Ncr => 2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst} (100%) diff --git a/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst similarity index 100% rename from Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr rename to Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst From d713582c24d621432daa12dfee547841e6655f9d Mon Sep 17 00:00:00 2001 From: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:34:08 +0100 Subject: [PATCH 4/4] Update 2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst --- .../next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 92f1b808de72c8..1793603637fbbb 100644 --- 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 @@ -1 +1 @@ -Add ``call`` to ``operator.__all__``. Patch by Kreusada. +Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada.