diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2024-07-22 01:14:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-22 01:14:25 (GMT) |
commit | bc264eac3ad14dab748e33b3d714c2674872791f (patch) | |
tree | b237ad9d470b8f8e8b8265231758f1c59f07cd1e /Doc/howto | |
parent | 728432c8043edc07bb8a24b180a70778fcd35878 (diff) | |
download | cpython-bc264eac3ad14dab748e33b3d714c2674872791f.zip cpython-bc264eac3ad14dab748e33b3d714c2674872791f.tar.gz cpython-bc264eac3ad14dab748e33b3d714c2674872791f.tar.bz2 |
Docs: spelling and grammar fixes (#122084)
Corrected some grammar and spelling issues in documentation.
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/free-threading-extensions.rst | 2 | ||||
-rw-r--r-- | Doc/howto/logging-cookbook.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/free-threading-extensions.rst b/Doc/howto/free-threading-extensions.rst index 1ba91b0..521810e 100644 --- a/Doc/howto/free-threading-extensions.rst +++ b/Doc/howto/free-threading-extensions.rst @@ -188,7 +188,7 @@ Python's memory management C API provides functions in three different :ref:`allocation domains <allocator-domains>`: "raw", "mem", and "object". For thread-safety, the free-threaded build requires that only Python objects are allocated using the object domain, and that all Python object are -allocated using that domain. This differes from the prior Python versions, +allocated using that domain. This differs from the prior Python versions, where this was only a best practice and not a hard requirement. .. note:: diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 3ed2dd6..321ec0c 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -4022,7 +4022,7 @@ As you can see, this output isn't ideal. That's because the underlying code which writes to ``sys.stderr`` makes multiple writes, each of which results in a separate logged line (for example, the last three lines above). To get around this problem, you need to buffer things and only output log lines when newlines -are seen. Let's use a slghtly better implementation of ``LoggerWriter``: +are seen. Let's use a slightly better implementation of ``LoggerWriter``: .. code-block:: python |