mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
12 lines
448 B
Python
12 lines
448 B
Python
match 42:
|
|
case *xs, <error descr="Repeated star pattern">*ys</error>:
|
|
pass
|
|
case *xs, <error descr="Repeated star pattern">*_</error>:
|
|
pass
|
|
case *xs, <error descr="Repeated star pattern">*ys</error>, <error descr="Repeated star pattern">*zs</error>:
|
|
pass
|
|
case (*xs, <error descr="Repeated star pattern">*ys</error>):
|
|
pass
|
|
case [*xs, <error descr="Repeated star pattern">*ys</error>]:
|
|
pass
|