diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-01 12:59:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 12:59:49 (GMT) |
commit | d341098c59e75821958c40aeb921dd41209e51f7 (patch) | |
tree | cb943794da6d5771de39f5092f95286362d52ecc /Misc/indent.pro | |
parent | 753b6644e3b342ad0d713cb758f37e6b29a5af04 (diff) | |
download | cpython-d341098c59e75821958c40aeb921dd41209e51f7.zip cpython-d341098c59e75821958c40aeb921dd41209e51f7.tar.gz cpython-d341098c59e75821958c40aeb921dd41209e51f7.tar.bz2 |
[3.12] gh-101293: Fix support of custom callables and types in inspect.Signature.from_callable() (GH-115530) (GH-116198)
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.
(cherry picked from commit 59167c962efcae72e8d88aa4b33062ed3de4f120)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc/indent.pro')
0 files changed, 0 insertions, 0 deletions