Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67d727e

Browse files
committed
inspect.docs: Document that Signature and Parameter are now picklable (issue #20726)
1 parent 232b934 commit 67d727e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/inspect.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@ function.
462462
Signature objects are *immutable*. Use :meth:`Signature.replace` to make a
463463
modified copy.
464464

465+
.. versionchanged:: 3.5
466+
Signature objects are picklable.
467+
465468
.. attribute:: Signature.empty
466469

467470
A special class-level marker to specify absence of a return annotation.
@@ -526,6 +529,9 @@ function.
526529
Parameter objects are *immutable*. Instead of modifying a Parameter object,
527530
you can use :meth:`Parameter.replace` to create a modified copy.
528531

532+
.. versionchanged:: 3.5
533+
Parameter objects are picklable.
534+
529535
.. attribute:: Parameter.empty
530536

531537
A special class-level marker to specify absence of default values and

0 commit comments

Comments
 (0)