summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-11 22:21:22 (GMT)
committerGitHub <noreply@github.com>2021-04-11 22:21:22 (GMT)
commit553ee2781a37ac9d2068da3e1325a780ca79e21e (patch)
tree599710562c5961edb6d7365761da242a8c122680 /Misc
parent53114ffef1d4facf9aa5545e711abbbda66f672a (diff)
downloadcpython-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.rst2
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.