mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-10 06:31:57 +08:00
Add 'named arguments must follow bare *' issue and a few conftest tweaks.
This commit is contained in:
@@ -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