]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127750: Restore inspect and pydoc support of singledispatchmethod (GH-130309)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 20 Feb 2025 09:08:49 +0000 (11:08 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 09:08:49 +0000 (11:08 +0200)
commit10b32054ad6bce821e3b40101d4414d025be6e36
tree3aa7447a7e9afd353894c8435661711976abf8b4
parented831b95a231ef949da13a261b40ee1ea0e126d7
gh-127750: Restore inspect and pydoc support of singledispatchmethod (GH-130309)

The code is still flawed, because it does not recognize class and static
methods, and the first argument is not removed from the signature of
bound methods, but at least it does not worse than in 3.13 and older.
Lib/functools.py
Lib/inspect.py
Lib/test/test_functools.py
Lib/test/test_inspect/test_inspect.py