File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ This allows introspection of the original definition order, e.g. by
37
37
class decorators.
38
38
39
39
Additionally, this PEP requires that the default class definition
40
- namespace be ordered (e.g. ``OrderedDict``) by default. The long-
41
- lived class namespace (``__dict__``) will remain a ``dict``.
40
+ namespace be ordered (e.g. ``OrderedDict``) by default. The
41
+ long- lived class namespace (``__dict__``) will remain a ``dict``.
42
42
43
43
44
44
Motivation
@@ -185,10 +185,10 @@ the well-worn precedent found in Python. Per Guido::
185
185
186
186
Also, note that a writeable ``__definition_order__`` allows dynamically
187
187
created classes (e.g. by Cython) to still have ``__definition_order__``
188
- properly set. That could certainly be handled through specific class-
189
- creation tools, such as ``type()`` or the C-API, without the need to
190
- lose the semantics of a read-only attribute. However, with a writeable
191
- attribute it's a moot point.
188
+ properly set. That could certainly be handled through specific
189
+ class- creation tools, such as ``type()`` or the C-API, without the need
190
+ to lose the semantics of a read-only attribute. However, with a
191
+ writeable attribute it's a moot point.
192
192
193
193
194
194
Why not "__attribute_order__"?
You can’t perform that action at this time.
0 commit comments