Skip to content

Commit eaa4742

Browse files
authored
PEP 520: Resolve dangling hyphens (#3358)
1 parent ee2f31e commit eaa4742

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pep-0520.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ This allows introspection of the original definition order, e.g. by
3737
class decorators.
3838

3939
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``.
4242

4343

4444
Motivation
@@ -185,10 +185,10 @@ the well-worn precedent found in Python. Per Guido::
185185

186186
Also, note that a writeable ``__definition_order__`` allows dynamically
187187
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.
192192

193193

194194
Why not "__attribute_order__"?

0 commit comments

Comments
 (0)