mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 12:34:00 +07:00
GitOrigin-RevId: 0e35bd5d50e2d6b544cbd4467d184b6be21b7574
10 lines
353 B
Python
10 lines
353 B
Python
class Point:
|
|
def __init__(self, x, y):
|
|
self.x = x
|
|
self.y = y
|
|
|
|
def f(p):
|
|
match p:
|
|
case Point(<warning descr="Class Point does not support pattern matching with positional arguments"><caret>1</warning>, <warning descr="Class Point does not support pattern matching with positional arguments">2</warning>):
|
|
pass
|