mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
#18741: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
9ff79f7c46
commit
b5bc353b88
22 changed files with 38 additions and 36 deletions
|
|
@ -71,7 +71,7 @@ def fixup_parse_tree(cls_node):
|
|||
def fixup_simple_stmt(parent, i, stmt_node):
|
||||
""" if there is a semi-colon all the parts count as part of the same
|
||||
simple_stmt. We just want the __metaclass__ part so we move
|
||||
everything efter the semi-colon into its own simple_stmt node
|
||||
everything after the semi-colon into its own simple_stmt node
|
||||
"""
|
||||
for semi_ind, node in enumerate(stmt_node.children):
|
||||
if node.type == token.SEMI: # *sigh*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue