Skip to content

Commit 7dd8829

Browse files
authored
PEP 451: Resolve dangling hyphens (#3352)
1 parent 938f17e commit 7dd8829

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pep-0451.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,9 @@ Other than adding ``__spec__``, none of the import-related module
678678
attributes will be changed or deprecated, though some of them could be;
679679
any such deprecation can wait until Python 4.
680680

681-
A module's spec will not be kept in sync with the corresponding import-
682-
related attributes. Though they may differ, in practice they will
683-
typically be the same.
681+
A module's spec will not be kept in sync with the corresponding
682+
import-related attributes. Though they may differ, in practice they
683+
will typically be the same.
684684

685685
One notable exception is that case where a module is run as a script by
686686
using the ``-m`` flag. In that case ``module.__spec__.name`` will
@@ -716,8 +716,8 @@ Adding yet another similar method to loaders is a case of practicality.
716716
find_module() could be changed to return specs instead of loaders.
717717
This is tempting because the import APIs have suffered enough,
718718
especially considering PathEntryFinder.find_loader() was just
719-
added in Python 3.3. However, the extra complexity and a less-than-
720-
explicit method name aren't worth it.
719+
added in Python 3.3. However, the extra complexity and a
720+
less-than-explicit method name aren't worth it.
721721

722722
The "target" parameter of find_spec()
723723
-------------------------------------

0 commit comments

Comments
 (0)