diff options
author | Victor Stinner <vstinner@python.org> | 2021-04-11 22:21:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 22:21:22 (GMT) |
commit | 553ee2781a37ac9d2068da3e1325a780ca79e21e (patch) | |
tree | 599710562c5961edb6d7365761da242a8c122680 /Misc | |
parent | 53114ffef1d4facf9aa5545e711abbbda66f672a (diff) | |
download | cpython-553ee2781a37ac9d2068da3e1325a780ca79e21e.zip cpython-553ee2781a37ac9d2068da3e1325a780ca79e21e.tar.gz cpython-553ee2781a37ac9d2068da3e1325a780ca79e21e.tar.bz2 |
bpo-43682: Make staticmethod objects callable (GH-25117)
Static methods (@staticmethod) are now callable as regular functions.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-03-31-16-32-57.bpo-43682.VSF3vg.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-03-31-16-32-57.bpo-43682.VSF3vg.rst b/Misc/NEWS.d/next/Core and Builtins/2021-03-31-16-32-57.bpo-43682.VSF3vg.rst new file mode 100644 index 0000000..1ad9493 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-03-31-16-32-57.bpo-43682.VSF3vg.rst @@ -0,0 +1,2 @@ +Static methods (:func:`@staticmethod <staticmethod>`) are now callable as +regular functions. Patch by Victor Stinner. |