]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix typos in documentation (GH-118815)
authorXie Yanbo <xieyanbo@gmail.com>
Fri, 10 May 2024 08:11:50 +0000 (16:11 +0800)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 08:11:50 +0000 (09:11 +0100)
Doc/library/importlib.rst
Doc/library/logging.rst

index b58ef359378e4f7262b5da8f7979ca570deceb07..2ec15dd171c18af2c34f95419ca100c722709144 100644 (file)
@@ -1252,7 +1252,7 @@ find and load modules.
    be only a single binary per framework, and there can be no executable binary
    material outside the Frameworks folder.
 
-   To accomodate this requirement, when running on iOS, extension module
+   To accommodate this requirement, when running on iOS, extension module
    binaries are *not* packaged as ``.so`` files on ``sys.path``, but as
    individual standalone frameworks. To discover those frameworks, this loader
    is be registered against the ``.fwork`` file extension, with a ``.fwork``
@@ -1279,7 +1279,7 @@ find and load modules.
 
    When a module is loaded with this loader, the ``__file__`` for the module
    will report as the location of the ``.fwork`` file. This allows code to use
-   the ``__file__`` of a  module as an anchor for file system traveral.
+   the ``__file__`` of a  module as an anchor for file system traversal.
    However, the spec origin will reference the location of the *actual* binary
    in the ``.framework`` folder.
 
index fb6ca38ba72aba1a5ab5de1935164a8382372b8e..564b34bcf1bb3757142075f7d1ccfa7de29e4082 100644 (file)
@@ -1204,7 +1204,7 @@ functions.
    most programs will want to carefully and explicitly control the logging
    configuration, and should therefore prefer creating a module-level logger and
    calling :meth:`Logger.debug` (or other level-specific methods) on it, as
-   described at the beginnning of this documentation.
+   described at the beginning of this documentation.
 
 
 .. function:: info(msg, *args, **kwargs)