mirror of
https://github.com/python/cpython.git
synced 2025-08-16 14:50:43 +00:00
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>.
(cherry picked from commit 745c9d9dfc
)
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
03bf55d8cf
commit
cfca4a6774
62 changed files with 79 additions and 79 deletions
|
@ -264,7 +264,7 @@ class CAPITest(unittest.TestCase):
|
|||
|
||||
def test_getitem_with_error(self):
|
||||
# Test _Py_CheckSlotResult(). Raise an exception and then calls
|
||||
# PyObject_GetItem(): check that the assertion catchs the bug.
|
||||
# PyObject_GetItem(): check that the assertion catches the bug.
|
||||
# PyObject_GetItem() must not be called with an exception set.
|
||||
code = textwrap.dedent("""
|
||||
import _testcapi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue