mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -23,7 +23,7 @@ _DialectLike = Union[str, Dialect, Type[Dialect]]
|
||||
class _reader(Iterator[List[str]]):
|
||||
dialect: Dialect
|
||||
line_num: int
|
||||
def __next__(self) -> List[str]: ...
|
||||
def __next__(self) -> list[str]: ...
|
||||
|
||||
class _writer:
|
||||
dialect: Dialect
|
||||
@@ -38,5 +38,5 @@ def reader(csvfile: Iterable[str], dialect: _DialectLike = ..., **fmtparams: Any
|
||||
def register_dialect(name: str, dialect: Any = ..., **fmtparams: Any) -> None: ...
|
||||
def unregister_dialect(name: str) -> None: ...
|
||||
def get_dialect(name: str) -> Dialect: ...
|
||||
def list_dialects() -> List[str]: ...
|
||||
def list_dialects() -> list[str]: ...
|
||||
def field_size_limit(new_limit: int = ...) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user