mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
inspect: Make Signature and Parameter hashable. Issue #20334.
This commit is contained in:
parent
3f73ca23cf
commit
67ae50ee1c
5 changed files with 52 additions and 13 deletions
|
@ -143,7 +143,8 @@ Improved Modules
|
|||
(contributed by Claudiu Popa in :issue:`20627`).
|
||||
|
||||
* :class:`inspect.Signature` and :class:`inspect.Parameter` are now
|
||||
picklable (contributed by Yury Selivanov in :issue:`20726`).
|
||||
picklable and hashable (contributed by Yury Selivanov in :issue:`20726`
|
||||
and :issue:`20334`).
|
||||
|
||||
* New class method :meth:`inspect.Signature.from_callable`, which makes
|
||||
subclassing of :class:`~inspect.Signature` easier (contributed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue