Skip to content

Commit 3bbf470

Browse files
authored
PEP 367: Resolve dangling hyphens (#3349)
1 parent 043306b commit 3bbf470

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pep-0367.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ Should ``super`` actually become a keyword?
122122

123123
With this proposal, ``super`` would become a keyword to the same extent that
124124
``None`` is a keyword. It is possible that further restricting the ``super``
125-
name may simplify implementation, however some are against the actual keyword-
126-
ization of super. The simplest solution is often the correct solution and the
127-
simplest solution may well not be adding additional keywords to the language
128-
when they are not needed. Still, it may solve other open issues.
125+
name may simplify implementation, however some are against the actual
126+
keyword-ization of super. The simplest solution is often the correct solution
127+
and the simplest solution may well not be adding additional keywords to the
128+
language when they are not needed. Still, it may solve other open issues.
129129

130130

131131
Closed Issues
@@ -513,10 +513,10 @@ super(self, \*args) or __super__(self, \*args)
513513
This solution only solves the problem of the type indication, does not handle
514514
differently named super methods, and is explicit about the name of the
515515
instance. It is less flexible without being able to enacted on other method
516-
names, in cases where that is needed. One use case this fails is where a base-
517-
class has a factory classmethod and a subclass has two factory classmethods,
518-
both of which needing to properly make super calls to the one in the base-
519-
class.
516+
names, in cases where that is needed. One use case this fails is where a
517+
base-class has a factory classmethod and a subclass has two factory
518+
classmethods, both of which needing to properly make super calls to the one
519+
in the base-class.
520520

521521
super.foo(self, \*args)
522522
-----------------------

0 commit comments

Comments
 (0)