mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 21:25:31 +00:00
Add test for combined items
This commit is contained in:
parent
fff291a4de
commit
9eb0752cb4
1 changed files with 3 additions and 0 deletions
|
@ -688,6 +688,9 @@ def func[*Ts](*a: *Ts):
|
|||
|
||||
def func[**P](*args: P.args, **kwargs: P.kwargs):
|
||||
...
|
||||
|
||||
def func[T, U: str, *Ts, **P]():
|
||||
pass
|
||||
";
|
||||
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue