@@ -678,9 +678,9 @@ Other than adding ``__spec__``, none of the import-related module
678
678
attributes will be changed or deprecated, though some of them could be;
679
679
any such deprecation can wait until Python 4.
680
680
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.
684
684
685
685
One notable exception is that case where a module is run as a script by
686
686
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.
716
716
find_module() could be changed to return specs instead of loaders.
717
717
This is tempting because the import APIs have suffered enough,
718
718
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.
721
721
722
722
The "target" parameter of find_spec()
723
723
-------------------------------------
0 commit comments