diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-03-01 11:32:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 11:32:16 (GMT) |
commit | 59167c962efcae72e8d88aa4b33062ed3de4f120 (patch) | |
tree | 5d7802a8e021d025ef69181ec38dcc2a6b1f06e4 /Python/errors.c | |
parent | 8ab6c2775c4b2566477589cfc50fb64f020dc4de (diff) | |
download | cpython-59167c962efcae72e8d88aa4b33062ed3de4f120.zip cpython-59167c962efcae72e8d88aa4b33062ed3de4f120.tar.gz cpython-59167c962efcae72e8d88aa4b33062ed3de4f120.tar.bz2 |
gh-101293: Fix support of custom callables and types in inspect.Signature.from_callable() (GH-115530)
Support callables with the __call__() method and types with
__new__() and __init__() methods set to class methods, static
methods, bound methods, partial functions, and other types of
methods and descriptors.
Add tests for numerous types of callables and descriptors.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions