pylyzer/tests/err/class.py

5 lines
105 B
Python

class Foo:
def invalid_append(self):
paths: list[str] = []
paths.append(self) # ERR