commit | 0da5bd6ee1b6a0e6f9397f43dab68ba098b04b58 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Sat Dec 08 22:17:26 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Sat Dec 08 22:17:26 2007 +0000 |
tree | 9905c8fc656abcc3a0d74f3bfe452b0f225d9ca9 | |
parent | bc8734174a0cd6513e55627464038aed22b3c32c [diff] [blame] |
Added two tests for f(*, **kw) syntax
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 4883ed5..03a877b 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py
@@ -58,6 +58,9 @@ "break", # Continue "continue", + # kw only funcs + "def f(*, kw=1): pass", + "def f(*, **kw): pass", ] # These are compiled through "single"