summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_metaclass.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:13:22 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:13:22 (GMT)
commite0c69161bc9d4e9deca4fc0add189b4df9cce8cb (patch)
tree577f43f5da23af8cd3f34422599627cef6a2902f /Lib/lib2to3/fixes/fix_metaclass.py
parent1d8e7dbf1ab5f206016de6ccd9ce3962d264bd9b (diff)
parentb5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0 (diff)
downloadcpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.zip
cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.gz
cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.bz2
#18741: merge with 3.3.
Diffstat (limited to 'Lib/lib2to3/fixes/fix_metaclass.py')
-rw-r--r--Lib/lib2to3/fixes/fix_metaclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_metaclass.py b/Lib/lib2to3/fixes/fix_metaclass.py
index 7d4d002..d4f99a3 100644
--- a/Lib/lib2to3/fixes/fix_metaclass.py
+++ b/Lib/lib2to3/fixes/fix_metaclass.py
@@ -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*