[3.13] Docs: spelling and grammar fixes (GH-122084) (#122106)

Docs: spelling and grammar fixes (GH-122084)

Corrected some grammar and spelling issues in documentation.

(cherry picked from commit bc264eac3a)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-07-22 03:30:34 +02:00 committed by GitHub
parent 587a8f84ed
commit 3ae1236c73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 30 additions and 30 deletions

View file

@ -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::

View file

@ -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