diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-07 15:49:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 15:49:47 (GMT) |
commit | cfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch) | |
tree | db352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/lib2to3/fixes/fix_metaclass.py | |
parent | 03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff) | |
download | cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.zip cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.bz2 |
[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 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)
Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/lib2to3/fixes/fix_metaclass.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_metaclass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_metaclass.py b/Lib/lib2to3/fixes/fix_metaclass.py index d1cd10d..fe547b2 100644 --- a/Lib/lib2to3/fixes/fix_metaclass.py +++ b/Lib/lib2to3/fixes/fix_metaclass.py @@ -51,7 +51,7 @@ def fixup_parse_tree(cls_node): # already in the preferred format, do nothing return - # !%@#! oneliners have no suite node, we have to fake one up + # !%@#! one-liners have no suite node, we have to fake one up for i, node in enumerate(cls_node.children): if node.type == token.COLON: break |