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

Unified Diff: Lib/test/test_grammar.py

Issue 27095: Simplify MAKE_FUNCTION
Patch Set: Created 3 years, 3 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/test/test_grammar.py Sun Jun 12 15:53:09 2016 +0300
+++ b/Lib/test/test_grammar.py Sun Jun 12 16:28:15 2016 +0300
@@ -345,7 +345,7 @@ class GrammarTests(unittest.TestCase):
def f(x) -> list: pass
self.assertEqual(f.__annotations__, {'return': list})
- # test MAKE_CLOSURE with a variety of oparg's
+ # test MAKE_FUNCTION with a variety of opargs
closure = 1
def f(): return closure
def f(x=1): return closure
« Doc/library/dis.rst ('K') | « Lib/test/test_dis.py ('k') | Objects/abstract.c » ('j') | no next file with comments »

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