From 9bae12b428257125c038f24cda565a84766f7ac5 Mon Sep 17 00:00:00 2001 From: ericsnowcurrently Date: Thu, 8 Sep 2016 15:22:33 -0700 Subject: [PATCH] Add a note about compact dict to PEP 520. --- pep-0520.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pep-0520.txt b/pep-0520.txt index 45a2508c6..c2f968c4f 100644 --- a/pep-0520.txt +++ b/pep-0520.txt @@ -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 ==========