summaryrefslogtreecommitdiffstats
path: root/Doc/library/pickle.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
commit85eb8c103c9e460917911b43c6be302c30d75efb (patch)
tree2cbb4ff9497eb9db774e40d4f84abb368a311ed6 /Doc/library/pickle.rst
parent3540ef16c19f2260e347a679cb27d44ba734bec6 (diff)
downloadcpython-85eb8c103c9e460917911b43c6be302c30d75efb.zip
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.gz
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.bz2
- document bytes()
- throw out many mentions of "old-style/new-style" - add memoryview() though I somebody has to fill in the details - throw out str.decode() - throw out classobj and instanceobj
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r--Doc/library/pickle.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index ab19ff8..1872724 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -416,6 +416,8 @@ Pickling and unpickling normal class instances
single: __getinitargs__() (copy protocol)
single: __init__() (instance constructor)
+.. XXX is __getinitargs__ only used with old-style 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
called on unpickling, an old-style class can define a method