Skip to content

Commit

Permalink
Docs: fix typos in documentation (pythonGH-118815)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed May 10, 2024
1 parent 46c8081 commit 17a2cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand All @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17a2cc1

Please sign in to comment.