diff options
author | Georg Brandl <georg@python.org> | 2007-08-31 16:33:38 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-31 16:33:38 +0000 |
commit | 8fdc492857fac72cd772a570530203f15d55b16f (patch) | |
tree | 95fb5befdedee4988c2b60bac6c72a71c15973cf /Doc/library/pickle.rst | |
parent | 2fb40170a09d359263f9031c5c40292bef424af1 (diff) | |
download | cpython-8fdc492857fac72cd772a570530203f15d55b16f.tar.gz |
- 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 ab19ff89e9..1872724865 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 |