mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-06 23:24:25 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -4,7 +4,7 @@ from collections.abc import Generator, Iterable, Iterator, Mapping, MutableMappi
|
||||
class URIDict(MutableMapping[str, str]):
|
||||
def normalize(self, uri: str) -> str: ...
|
||||
store: dict[str, str]
|
||||
def __init__(self, __m: SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]], **kwargs: str) -> None: ...
|
||||
def __init__(self, m: SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]], /, **kwargs: str) -> None: ...
|
||||
def __getitem__(self, uri: str) -> str: ...
|
||||
def __setitem__(self, uri: str, value: str) -> None: ...
|
||||
def __delitem__(self, uri: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user