Skip to content

Commit e21ad77

Browse files
authored
commit 13
1 parent 61884f0 commit e21ad77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/selectors.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ class BaseSelector(metaclass=ABCMeta):
2525
def close(self) -> None: ...
2626
def get_key(self, fileobj: FileDescriptorLike) -> SelectorKey: ...
2727
@abstractmethod
28-
def get_map(self) -> Mapping[FileDescriptorLike, SelectorKey]: ...
28+
def get_map(self) -> Mapping[FileDescriptorLike, SelectorKey]: ... # type: ignore[type-var]
2929
def __enter__(self) -> Self: ...
3030
def __exit__(self, *args: Unused) -> None: ...
3131

3232
class _BaseSelectorImpl(BaseSelector, metaclass=ABCMeta):
3333
def register(self, fileobj: FileDescriptorLike, events: int, data: Any = None) -> SelectorKey: ...
3434
def unregister(self, fileobj: FileDescriptorLike) -> SelectorKey: ...
3535
def modify(self, fileobj: FileDescriptorLike, events: int, data: Any = None) -> SelectorKey: ...
36-
def get_map(self) -> Mapping[FileDescriptorLike, SelectorKey]: ...
36+
def get_map(self) -> Mapping[FileDescriptorLike, SelectorKey]: ... # type: ignore[type-var]
3737

3838
class SelectSelector(_BaseSelectorImpl):
3939
def select(self, timeout: float | None = None) -> list[tuple[SelectorKey, int]]: ...

0 commit comments

Comments
 (0)