Remove empty __init__ methods (#8816)

This commit is contained in:
Nikita Sobolev
2022-09-30 15:08:41 +03:00
committed by GitHub
parent deff426b6f
commit 380022c650
33 changed files with 1 additions and 44 deletions

View File

@@ -15,7 +15,6 @@ class Grammar:
tokens: dict[int, int]
symbol2label: dict[str, int]
start: int
def __init__(self) -> None: ...
def dump(self, filename: StrPath) -> None: ...
def load(self, filename: StrPath) -> None: ...
def copy(self: Self) -> Self: ...

View File

@@ -32,7 +32,6 @@ class ParserGenerator:
class NFAState:
arcs: list[tuple[str | None, NFAState]]
def __init__(self) -> None: ...
def addarc(self, next: NFAState, label: str | None = ...) -> None: ...
class DFAState:

View File

@@ -87,7 +87,6 @@ class Untokenizer:
tokens: list[str]
prev_row: int
prev_col: int
def __init__(self) -> None: ...
def add_whitespace(self, start: _Coord) -> None: ...
def untokenize(self, iterable: Iterable[_TokenInfo]) -> str: ...
def compat(self, token: tuple[int, str], iterable: Iterable[_TokenInfo]) -> None: ...