SwashBuckler001's picture
IdiomBench (part 6)
d8a7ddd verified
Raw History Blame Contribute Delete
271 Bytes
match ruff:
case {"lint": {"select": x} | {"extend-select": x}} | {"select": x}:
...
match 42:
case [[x] | [x]] | x: ...
match 42:
case [[x | x] | [x]] | x: ...
match 42:
case ast.Subscript(n, ast.Constant() | ast.Slice()) | ast.Attribute(n): ...