Fix PEP 520 typos.
This commit is contained in:
parent
38a64f3338
commit
6f8133c138
|
@ -120,13 +120,13 @@ Why ignore "dunder" names?
|
|||
|
||||
Names starting and ending with "__" are reserved for use by the
|
||||
interpreter. In practice they should not be relevant to the users of
|
||||
``__definition_order__``. Instead, for early everyone they would only
|
||||
``__definition_order__``. Instead, for nearly everyone they would only
|
||||
be clutter, causing the same extra work for everyone.
|
||||
|
||||
Why is __definition_order__ even necessary?
|
||||
-------------------------------------------
|
||||
|
||||
Since the definition order is not preserved in ``__dict__``, it would be
|
||||
Since the definition order is not preserved in ``__dict__``, it is
|
||||
lost once class definition execution completes. Classes *could*
|
||||
explicitly set the attribute as the last thing in the body. However,
|
||||
then independent decorators could only make use of classes that had done
|
||||
|
|
Loading…
Reference in New Issue