We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0841f90 commit f2c4933Copy full SHA for f2c4933
immutables/_map.pyi
@@ -3,7 +3,6 @@ from typing import Generic
3
from typing import Hashable
4
from typing import Iterable
5
from typing import Iterator
6
-from typing import Literal
7
from typing import Mapping
8
from typing import MutableMapping
9
from typing import NoReturn
@@ -78,7 +77,7 @@ class MapMutation(MutableMapping[K, V]):
78
77
def __init__(self, count: int, root: BitmapNode) -> None: ...
79
def set(self, key: K, val: V) -> None: ...
80
def __enter__(self: S) -> S: ...
81
- def __exit__(self, *exc: Any) -> Literal[False]: ...
+ def __exit__(self, *exc: Any): ...
82
def __iter__(self) -> NoReturn: ...
83
def __delitem__(self, key: K) -> None: ...
84
def __setitem__(self, key: K, val: V) -> None: ...
0 commit comments