mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
fix up some C signatures (#14624)
a few issues exposed after https://github.com/python/mypy/pull/18259 was merged
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ if sys.platform != "linux" and sys.platform != "win32":
|
||||
if sys.platform == "linux":
|
||||
@final
|
||||
class epoll:
|
||||
def __init__(self, sizehint: int = ..., flags: int = ...) -> None: ...
|
||||
def __new__(self, sizehint: int = ..., flags: int = ...) -> Self: ...
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user