diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-05 21:54:10 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-05 21:54:10 (GMT) |
commit | 14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f (patch) | |
tree | cdeed9e5dc49aaa22c8596304a1284d4135c9036 /Lib/test/test_grammar.py | |
parent | cedef652fa94f28e9d37eefd8ce6a2f0401f5f45 (diff) | |
download | cpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.zip cpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.tar.gz cpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.tar.bz2 |
Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 8f0cf16..ec3d783 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -205,6 +205,8 @@ class GrammarTests(unittest.TestCase): d01() d01(1) d01(*(1,)) + d01(*[] or [2]) + d01(*() or (), *{} and (), **() or {}) d01(**{'a':2}) d01(**{'a':2} or {}) def d11(a, b=1): pass |