]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
inspect.docs: Document that Signature and Parameter are now picklable (issue #20726)
authorYury Selivanov <yselivanov@sprymix.com>
Sat, 29 Mar 2014 17:24:14 +0000 (13:24 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Sat, 29 Mar 2014 17:24:14 +0000 (13:24 -0400)
Doc/library/inspect.rst

index 2a257c33d674f0306eacc364429109c80c0012ce..f8c0317735027590ba607f2c41c9f75ae51e148b 100644 (file)
@@ -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