mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Use lowercase type everywhere (#6853)
This commit is contained in:
@@ -18,7 +18,7 @@ from _csv import (
|
||||
writer as writer,
|
||||
)
|
||||
from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
|
||||
from typing import Any, Generic, Type, TypeVar, overload
|
||||
from typing import Any, Generic, TypeVar, overload
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from builtins import dict as _DictReadMapping
|
||||
@@ -103,5 +103,5 @@ class DictWriter(Generic[_T]):
|
||||
class Sniffer:
|
||||
preferred: list[str]
|
||||
def __init__(self) -> None: ...
|
||||
def sniff(self, sample: str, delimiters: str | None = ...) -> Type[Dialect]: ...
|
||||
def sniff(self, sample: str, delimiters: str | None = ...) -> type[Dialect]: ...
|
||||
def has_header(self, sample: str) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user