mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use lowercase set/deque in stdlib subdirectories (#6350)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from lib2to3.pgen2.grammar import _DFAS, Grammar
|
||||
from lib2to3.pytree import _NL, _Convert, _RawNode
|
||||
from typing import Any, Sequence, Set
|
||||
from typing import Any, Sequence
|
||||
|
||||
_Context = Sequence[Any]
|
||||
|
||||
@@ -16,7 +16,7 @@ class Parser:
|
||||
convert: _Convert
|
||||
stack: list[tuple[_DFAS, int, _RawNode]]
|
||||
rootnode: _NL | None
|
||||
used_names: Set[str]
|
||||
used_names: set[str]
|
||||
def __init__(self, grammar: Grammar, convert: _Convert | None = ...) -> None: ...
|
||||
def setup(self, start: int | None = ...) -> None: ...
|
||||
def addtoken(self, type: int, value: str | None, context: _Context) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user