@@ -682,7 +682,7 @@ Before Python loads cached bytecode from ``.pyc`` file, it checks whether the
682682cache is up-to-date with the source ``.py `` file. By default, Python does this
683683by storing the source's last-modified timestamp and size in the cache file when
684684writing it. At runtime, the import system then validates the cache file by
685- checking the stored metadata in the cache file against at source's
685+ checking the stored metadata in the cache file against the source's
686686metadata.
687687
688688Python also supports "hash-based" cache files, which store a hash of the source
@@ -849,7 +849,7 @@ In order to support imports of modules and initialized packages and also to
849849contribute portions to namespace packages, path entry finders must implement
850850the :meth: `~importlib.abc.PathEntryFinder.find_spec ` method.
851851
852- :meth: `~importlib.abc.PathEntryFinder.find_spec ` takes two argument, the
852+ :meth: `~importlib.abc.PathEntryFinder.find_spec ` takes two arguments: the
853853fully qualified name of the module being imported, and the (optional) target
854854module. ``find_spec() `` returns a fully populated spec for the module.
855855This spec will always have "loader" set (with one exception).
@@ -913,7 +913,7 @@ the builtin :func:`__import__` function may be sufficient. This technique
913913may also be employed at the module level to only alter the behaviour of
914914import statements within that module.
915915
916- To selectively prevent import of some modules from a hook early on the
916+ To selectively prevent the import of some modules from a hook early on the
917917meta path (rather than disabling the standard import system entirely),
918918it is sufficient to raise :exc: `ModuleNotFoundError ` directly from
919919:meth: `~importlib.abc.MetaPathFinder.find_spec ` instead of returning
0 commit comments