2026-06-16 17:09:34 +00:00
|
|
|
from typing import Iterable, Iterator, Mapping
|
2026-02-06 22:23:20 +01:00
|
|
|
|
2026-06-16 17:09:34 +00:00
|
|
|
class Dictionary:
|
2026-02-06 22:23:20 +01:00
|
|
|
def __getitem__(self, key: str) -> str: ...
|
|
|
|
|
def __setitem__(self, key: str, value: str) -> None: ...
|
|
|
|
|
def __delitem__(self, key: str) -> None: ...
|
|
|
|
|
def __len__(self) -> int: ...
|
|
|
|
|
def __iter__(self) -> Iterator[str]: ...
|
|
|
|
|
def __repr__(self) -> str: ...
|
2026-06-16 17:09:34 +00:00
|
|
|
def keys(self) -> Iterable[str]: ...
|
|
|
|
|
def copy(self) -> Dictionary: ...
|
|
|
|
|
def pop(self, key: str) -> str: ...
|
|
|
|
|
def update(
|
|
|
|
|
self,
|
|
|
|
|
other: Mapping[str, str] | Iterable[tuple[str, str]] = (),
|
|
|
|
|
/,
|
|
|
|
|
**kwds: str,
|
|
|
|
|
) -> None: ...
|