[3.12] Fix misc doc typos (GH-108592) (#108594)

Fix misc doc typos (GH-108592)
(cherry picked from commit 88f1c5b454)

Co-authored-by: xzmeng <aumo@foxmail.com>
This commit is contained in:
Miss Islington (bot) 2023-08-29 03:38:03 -07:00 committed by GitHub
parent 7c7b2bfb3f
commit ae9bbd16d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 9 deletions

View file

@ -18,7 +18,7 @@ way; see :ref:`stable-abi-platform` below).
So, code compiled for Python 3.10.0 will work on 3.10.8 and vice versa,
but will need to be compiled separately for 3.9.x and 3.10.x.
There are two tiers of C API with different stability exepectations:
There are two tiers of C API with different stability expectations:
- :ref:`Unstable API <unstable-c-api>`, may change in minor versions without
a deprecation period. It is marked by the ``PyUnstable`` prefix in names.

View file

@ -1728,7 +1728,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
treated as read-only.
Some types may not store their dictionary in this slot.
Use :c:func:`PyType_GetDict` to retreive the dictionary for an arbitrary
Use :c:func:`PyType_GetDict` to retrieve the dictionary for an arbitrary
type.
.. versionchanged:: 3.12