Skip to content

Commit ea144d3

Browse files
authored
[select] Mark select.poll as @final (#15759)
1 parent 27ec4c8 commit ea144d3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stdlib/select.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if sys.platform != "win32":
2424

2525
# This is actually a function that returns an instance of a class.
2626
# The class is not accessible directly, and also calls itself select.poll.
27+
@final
2728
class poll:
2829
# default value is select.POLLIN | select.POLLPRI | select.POLLOUT
2930
def register(self, fd: FileDescriptorLike, eventmask: int = 7, /) -> None: ...

0 commit comments

Comments
 (0)