mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #13575: there is only one class type.
This commit is contained in:
parent
9d57481f04
commit
aa6c1d240f
8 changed files with 25 additions and 81 deletions
|
@ -375,7 +375,7 @@ class _Pickler:
|
|||
# allowing protocol 0 and 1 to work normally. For this to
|
||||
# work, the function returned by __reduce__ should be
|
||||
# called __newobj__, and its first argument should be a
|
||||
# new-style class. The implementation for __newobj__
|
||||
# class. The implementation for __newobj__
|
||||
# should be as follows, although pickle has no way to
|
||||
# verify this:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue