mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove empty __init__ methods (#8816)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user