Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(80636)

Unified Diff: Lib/lib2to3/tests/data/py3_test_grammar.py

Issue 27095: Simplify MAKE_FUNCTION
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/lib2to3/tests/data/py3_test_grammar.py Sun Jun 12 15:53:09 2016 +0300
+++ b/Lib/lib2to3/tests/data/py3_test_grammar.py Sun Jun 12 16:28:15 2016 +0300
@@ -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
« Doc/library/dis.rst ('K') | « Lib/importlib/_bootstrap_external.py ('k') | Lib/opcode.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+