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:
Stephen Morton
2025-08-22 06:58:55 -07:00
committed by GitHub
parent b7f7335f82
commit cc14cc6c2a
6 changed files with 122 additions and 45 deletions
+1 -1
View File
@@ -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,