Replace Incomplete | None = None in third party stubs (#14063)

This commit is contained in:
Sebastian Rittau
2025-05-15 21:37:43 +02:00
committed by GitHub
parent acc51542c9
commit 126768408a
488 changed files with 2259 additions and 4044 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ if sys.platform == "win32":
pos: int
filemap: Incomplete
view: Incomplete
def __init__(self, name: str, length: int, security_attributes: Incomplete | None = None) -> None: ...
def __init__(self, name: str, length: int, security_attributes=None) -> None: ...
def __enter__(self) -> Self: ...
def seek(self, pos: int) -> None: ...
def write(self, msg: bytes) -> None: ...