[Python-checkins] cpython: inspect.docs: Document that Signature and Parameter are now picklable (issue

yury.selivanov python-checkins at python.org
Sat Mar 29 18:24:36 CET 2014


http://hg.python.org/cpython/rev/f2bae047f6d0
changeset:   90027:f2bae047f6d0
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Sat Mar 29 13:24:14 2014 -0400
summary:
  inspect.docs: Document that Signature and Parameter are now picklable (issue #20726)

files:
  Doc/library/inspect.rst |  6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)


diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -462,6 +462,9 @@
    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 @@
    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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list