mirror of
https://github.com/python/cpython.git
synced 2025-10-27 19:54:38 +00:00
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
db693df3e1
commit
745c9d9dfc
64 changed files with 83 additions and 83 deletions
|
|
@ -284,7 +284,7 @@ def test_get_num_lines_in_stmt(self):
|
|||
tests = (
|
||||
TestInfo('[x for x in a]\n', 1), # Closed on one line.
|
||||
TestInfo('[x\nfor x in a\n', 2), # Not closed.
|
||||
TestInfo('[x\\\nfor x in a\\\n', 2), # "", uneeded backslashes.
|
||||
TestInfo('[x\\\nfor x in a\\\n', 2), # "", unneeded backslashes.
|
||||
TestInfo('[x\nfor x in a\n]\n', 3), # Closed on multi-line.
|
||||
TestInfo('\n"""Docstring comment L1"""\nL2\nL3\nL4\n', 1),
|
||||
TestInfo('\n"""Docstring comment L1\nL2"""\nL3\nL4\n', 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue