summaryrefslogtreecommitdiffstats
path: root/Doc/library/pickle.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r--Doc/library/pickle.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index a9877ff..6c7c1d0 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -403,6 +403,7 @@ Pickling and unpickling normal class instances
single: __init__() (instance constructor)
.. XXX is __getinitargs__ only used with old-style classes?
+.. XXX update w.r.t Py3k's classes
When a pickled class instance is unpickled, its :meth:`__init__` method is
normally *not* invoked. If it is desirable that the :meth:`__init__` method be
@@ -447,8 +448,8 @@ can do what they want. [#]_
.. warning::
- For :term:`new-style class`\es, if :meth:`__getstate__` returns a false
- value, the :meth:`__setstate__` method will not be called.
+ If :meth:`__getstate__` returns a false value, the :meth:`__setstate__`
+ method will not be called.
Pickling and unpickling extension types