summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-03-29 17:24:14 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-03-29 17:24:14 (GMT)
commit67d727e824febeb456164ca984eb7f38af5339ea (patch)
tree6ead297b68f6aded078b7e5ab022732638cfb75e /Doc/library/inspect.rst
parent232b9346209a8f61cfecf5908fb69b2b9240ba94 (diff)
downloadcpython-67d727e824febeb456164ca984eb7f38af5339ea.zip
cpython-67d727e824febeb456164ca984eb7f38af5339ea.tar.gz
cpython-67d727e824febeb456164ca984eb7f38af5339ea.tar.bz2
inspect.docs: Document that Signature and Parameter are now picklable (issue #20726)
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 2a257c3..f8c0317 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