mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-31 08:52:04 +08:00
Add 'named arguments must follow bare *' issue and a few conftest tweaks.
This commit is contained in:
1 parent
1b66fa4d44
commit
d76eee2a96
4 files changed
+49
-3
No files matched your search
@@ -79,3 +79,12 @@ def b(a:int=1):
|
||||
|
||||
if alpha[:-i]:
|
||||
*a, b = (1, 2, 3)
|
||||
|
||||
|
||||
# Named only arguments
|
||||
def foo(*, asdf):
|
||||
pass
|
||||
|
||||
|
||||
def foo2(bar, *, asdf=2):
|
||||
pass
|
||||
Reference in new issue
Block a user