mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 06:49:44 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import builtins
|
||||
import ctypes
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from _typeshed import Incomplete, Self
|
||||
from types import TracebackType
|
||||
from typing import Any
|
||||
|
||||
@@ -33,7 +33,7 @@ if sys.platform == "win32":
|
||||
pos: int
|
||||
filemap: Any = ...
|
||||
view: Any = ...
|
||||
def __init__(self, name: str, length: int, security_attributes: Any | None = ...) -> None: ...
|
||||
def __init__(self, name: str, length: int, security_attributes: Incomplete | None = ...) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def seek(self, pos: int) -> None: ...
|
||||
def write(self, msg: bytes) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user