Closed selfint closed 1 year ago
Input:
from dataclasses import dataclass @dataclass class A: def __init__(self) -> None: ... def foo(self) -> None: ... def main(): ... if __name__ == "__main__": main()
Trying to force move foo to be below @dataclass\nclass A fails dramatically.
foo
@dataclass\nclass A
This is probably because the order we are changing the text is wrong?
Input:
Trying to force move
foo
to be below@dataclass\nclass A
fails dramatically.This is probably because the order we are changing the text is wrong?