summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_metaclass.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-02 13:06:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-02 13:06:09 (GMT)
commitc72e66a0489ee53aaf89c677c5b709d30b359532 (patch)
treedaa871e7fdabf80f5da22dd1a5d3dc33b5efce52 /Lib/lib2to3/fixes/fix_metaclass.py
parenta5ad9da50422a5ce2f80e05b816e74c0e004e247 (diff)
downloadcpython-c72e66a0489ee53aaf89c677c5b709d30b359532.zip
cpython-c72e66a0489ee53aaf89c677c5b709d30b359532.tar.gz
cpython-c72e66a0489ee53aaf89c677c5b709d30b359532.tar.bz2
Issue #25523: Backported a-to-an corrections.
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 4f5593c..8399a13 100644
--- a/Lib/lib2to3/fixes/fix_metaclass.py
+++ b/Lib/lib2to3/fixes/fix_metaclass.py
@@ -114,7 +114,7 @@ def find_metas(cls_node):
left_node = expr_node.children[0]
if isinstance(left_node, Leaf) and \
left_node.value == u'__metaclass__':
- # We found a assignment to __metaclass__.
+ # We found an assignment to __metaclass__.
fixup_simple_stmt(node, i, simple_node)
remove_trailing_newline(simple_node)
yield (node, i, simple_node)