From af44514f7286566b312dea0aa0bbbdb5eea812db Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 9 Sep 2016 09:48:58 -0700 Subject: [PATCH] Make a note into a note directive. (#100) --- pep-0520.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pep-0520.txt b/pep-0520.txt index c2f968c4f..12ced9859 100644 --- a/pep-0520.txt +++ b/pep-0520.txt @@ -11,6 +11,10 @@ Python-Version: 3.6 Post-History: 7-Jun-2016, 11-Jun-2016, 20-Jun-2016, 24-Jun-2016 Resolution: https://mail.python.org/pipermail/python-dev/2016-June/145442.html +.. note:: + Since compact dict has landed in 3.6, __definition_order__ + has been removed. ``cls.__dict__`` now mostly accomplishes the same + thing instead. Abstract ======== @@ -36,10 +40,6 @@ 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 ==========