mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
- 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
This commit is contained in:
parent
3540ef16c1
commit
85eb8c103c
10 changed files with 179 additions and 318 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue