From: Yury Selivanov Date: Sat, 29 Mar 2014 17:24:14 +0000 (-0400) Subject: inspect.docs: Document that Signature and Parameter are now picklable (issue #20726) X-Git-Tag: v3.5.0a1~1997 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67d727e824febeb456164ca984eb7f38af5339ea;p=thirdparty%2FPython%2Fcpython.git inspect.docs: Document that Signature and Parameter are now picklable (issue #20726) --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 2a257c33d674..f8c031773502 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