mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: 718645cc5dfd6d0a14f1bd802f3c5bb2bb2c6074
4 lines
351 B
Python
4 lines
351 B
Python
def func(x):
|
|
match x:
|
|
case <error descr="Pattern does not bind name z">[1, y]</error> | <error descr="Pattern does not bind name y">[2, z]</error>:
|
|
print(<warning descr="Local variable 'y' might be referenced before assignment">y</warning>, <warning descr="Local variable 'z' might be referenced before assignment">z</warning>) |