diff options
author | Georg Brandl <georg@python.org> | 2007-08-31 16:33:38 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-31 16:33:38 (GMT) |
commit | 85eb8c103c9e460917911b43c6be302c30d75efb (patch) | |
tree | 2cbb4ff9497eb9db774e40d4f84abb368a311ed6 /Doc/library/pickle.rst | |
parent | 3540ef16c19f2260e347a679cb27d44ba734bec6 (diff) | |
download | cpython-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.rst | 2 |
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 |