mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-04 02:23:24 +08:00
Update stubtest for final checking (#7312)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -103,6 +103,7 @@ if sys.platform != "linux" and sys.platform != "win32":
|
||||
KQ_NOTE_WRITE: int
|
||||
|
||||
if sys.platform == "linux":
|
||||
@final
|
||||
class epoll:
|
||||
def __init__(self, sizehint: int = ..., flags: int = ...) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
|
||||
@@ -245,6 +245,7 @@ class Row:
|
||||
def __ne__(self, __other): ...
|
||||
|
||||
if sys.version_info < (3, 8):
|
||||
@final
|
||||
class Statement:
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user