mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-06 02:32:50 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
1 parent
f94bbfbcc4
commit
88fa182253
97 files changed
+625
-632
No files matched your search
@@ -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