]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43682: Make staticmethod objects callable (GH-25117)
authorVictor Stinner <vstinner@python.org>
Sun, 11 Apr 2021 22:21:22 +0000 (00:21 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Apr 2021 22:21:22 +0000 (00:21 +0200)
commit553ee2781a37ac9d2068da3e1325a780ca79e21e
tree599710562c5961edb6d7365761da242a8c122680
parent53114ffef1d4facf9aa5545e711abbbda66f672a
bpo-43682: Make staticmethod objects callable (GH-25117)

Static methods (@staticmethod) are now callable as regular functions.
Doc/library/functions.rst
Doc/reference/datamodel.rst
Doc/whatsnew/3.10.rst
Lib/test/test_decorators.py
Lib/test/test_pydoc.py
Misc/NEWS.d/next/Core and Builtins/2021-03-31-16-32-57.bpo-43682.VSF3vg.rst [new file with mode: 0644]
Objects/funcobject.c