selectors.KqueueSelector is documented as BSD-only (#13183)

This commit is contained in:
Stephen Morton
2024-12-03 21:59:39 -08:00
committed by GitHub
parent 9b500ad3ce
commit d70fad09dd
2 changed files with 1 additions and 8 deletions

View File

@@ -1,10 +1,3 @@
# ============================================
# TODO: Allowlist entries that should be fixed
# ============================================
selectors.KqueueSelector
# ==========================================
# Modules that do not exist on Linux systems
# ==========================================

View File

@@ -53,7 +53,7 @@ if sys.platform == "linux":
class DevpollSelector(_PollLikeSelector):
def fileno(self) -> int: ...
if sys.platform != "win32":
if sys.platform != "win32" and sys.platform != "linux":
class KqueueSelector(_BaseSelectorImpl):
def fileno(self) -> int: ...
def select(self, timeout: float | None = None) -> list[tuple[SelectorKey, _EventMask]]: ...