diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-03-29 13:24:14 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-03-29 13:24:14 -0400 |
commit | 67d727e824febeb456164ca984eb7f38af5339ea (patch) | |
tree | 6ead297b68f6aded078b7e5ab022732638cfb75e | |
parent | 232b9346209a8f61cfecf5908fb69b2b9240ba94 (diff) | |
download | cpython-git-67d727e824febeb456164ca984eb7f38af5339ea.tar.gz |
inspect.docs: Document that Signature and Parameter are now picklable (issue #20726)
-rw-r--r-- | Doc/library/inspect.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 2a257c33d6..f8c0317735 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -462,6 +462,9 @@ function. Signature objects are *immutable*. Use :meth:`Signature.replace` to make a modified copy. + .. versionchanged:: 3.5 + Signature objects are picklable. + .. attribute:: Signature.empty A special class-level marker to specify absence of a return annotation. @@ -526,6 +529,9 @@ function. Parameter objects are *immutable*. Instead of modifying a Parameter object, you can use :meth:`Parameter.replace` to create a modified copy. + .. versionchanged:: 3.5 + Parameter objects are picklable. + .. attribute:: Parameter.empty A special class-level marker to specify absence of default values and |