Add a note about compact dict to PEP 520.
This commit is contained in:
parent
23a4fbca5b
commit
9bae12b428
|
@ -36,6 +36,10 @@ Additionally, this PEP requires that the default class definition
|
|||
namespace be ordered (e.g. ``OrderedDict``) by default. The long-
|
||||
lived class namespace (``__dict__``) will remain a ``dict``.
|
||||
|
||||
Note: since compact dict has landed in 3.6, __definition_order__
|
||||
has been removed. cls.__dict__ now mostly accomplishes the same
|
||||
thing instead.
|
||||
|
||||
|
||||
Motivation
|
||||
==========
|
||||
|
|
Loading…
Reference in New Issue