mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 17:58:40 +08:00
lowercase list and dict for 3rd party stubs (#5893)
* stubs/decorator/decorator.pyi * stubs/frozendict/frozendict.pyi * stubs/Jinja2/jinja2/nodes.pyi * stubs/Pygments/pygments/token.pyi * stubs/requests/requests/models.pyi * stubs/Werkzeug/werkzeug/http.pyi
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import collections
|
||||
from typing import Any, Dict, Generic, Iterable, Iterator, Mapping, Tuple, Type, TypeVar, overload
|
||||
from typing import Any, Generic, Iterable, Iterator, Mapping, Tuple, Type, TypeVar, overload
|
||||
|
||||
_S = TypeVar("_S")
|
||||
_KT = TypeVar("_KT")
|
||||
@@ -7,7 +7,7 @@ _VT = TypeVar("_VT")
|
||||
|
||||
class frozendict(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
|
||||
dict_cls: Type[Dict[Any, Any]] = ...
|
||||
dict_cls: Type[dict[Any, Any]] = ...
|
||||
@overload
|
||||
def __init__(self, **kwargs: _VT) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user