select.POLLRDHUP does not exist on macos (#10823)

This commit is contained in:
Nikita Sobolev
2023-10-02 13:59:29 +03:00
committed by GitHub
parent 66d183fc56
commit 07e611d41f
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,8 @@ if sys.platform != "win32":
POLLOUT: int
POLLPRI: int
POLLRDBAND: int
POLLRDHUP: int
if sys.platform == "linux":
POLLRDHUP: int
POLLRDNORM: int
POLLWRBAND: int
POLLWRNORM: int

View File

@@ -34,7 +34,6 @@ _ctypes.dlopen
_ctypes.dlsym
posix.NGROUPS_MAX
select.POLLRDHUP
webbrowser.MacOSX.__init__
# ==========