diff --git a/stdlib/select.pyi b/stdlib/select.pyi index 9c529dfdcbc9..2e048e99b332 100644 --- a/stdlib/select.pyi +++ b/stdlib/select.pyi @@ -24,6 +24,7 @@ if sys.platform != "win32": # This is actually a function that returns an instance of a class. # The class is not accessible directly, and also calls itself select.poll. + @final class poll: # default value is select.POLLIN | select.POLLPRI | select.POLLOUT def register(self, fd: FileDescriptorLike, eventmask: int = 7, /) -> None: ...