summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-12 14:36:24 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-12 14:36:24 (GMT)
commit64204de04cb24bb70b1cf011d812d35c8ff40337 (patch)
tree08fd1decdb9c3d56d2b863863d4d2dd5ff074b7e /Lib/lib2to3
parent5697c4b6419e5a90a59e616e4509a6fff7ebf1a8 (diff)
downloadcpython-64204de04cb24bb70b1cf011d812d35c8ff40337.zip
cpython-64204de04cb24bb70b1cf011d812d35c8ff40337.tar.gz
cpython-64204de04cb24bb70b1cf011d812d35c8ff40337.tar.bz2
Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/tests/data/py3_test_grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/tests/data/py3_test_grammar.py b/Lib/lib2to3/tests/data/py3_test_grammar.py
index c0bf7f2..cf31a54 100644
--- a/Lib/lib2to3/tests/data/py3_test_grammar.py
+++ b/Lib/lib2to3/tests/data/py3_test_grammar.py
@@ -319,7 +319,7 @@ class GrammarTests(unittest.TestCase):
def f(x) -> list: pass
self.assertEquals(f.__annotations__, {'return': list})
- # test MAKE_CLOSURE with a variety of oparg's
+ # test closures with a variety of oparg's
closure = 1
def f(): return closure
def f(x=1): return closure