[3.12] docs: fix a few typos identified by codespell (GH-119516) (#119571)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
This commit is contained in:
Hugo van Kemenade 2024-05-26 11:15:57 +03:00 committed by GitHub
parent d4e382ba31
commit 7f86c769db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 21 additions and 21 deletions

View file

@ -35,7 +35,7 @@ as much as it can.
callable object that receives notification when *ob* is garbage collected; it
should accept a single parameter, which will be the weak reference object
itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a
weakly referencable object, or if *callback* is not callable, ``None``, or
weakly referenceable object, or if *callback* is not callable, ``None``, or
``NULL``, this will return ``NULL`` and raise :exc:`TypeError`.
@ -47,7 +47,7 @@ as much as it can.
be a callable object that receives notification when *ob* is garbage
collected; it should accept a single parameter, which will be the weak
reference object itself. *callback* may also be ``None`` or ``NULL``. If *ob*
is not a weakly referencable object, or if *callback* is not callable,
is not a weakly referenceable object, or if *callback* is not callable,
``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`.