mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-09-07 07:27:00 +08:00
Replace Incomplete | None = None in third party stubs (#14063)
This commit is contained in:
@@ -13,7 +13,7 @@ def profile(fn, *args): ...
|
||||
class SafeOutput:
|
||||
softspace: int
|
||||
redir: Incomplete
|
||||
def __init__(self, redir: Incomplete | None = None) -> None: ...
|
||||
def __init__(self, redir=None) -> None: ...
|
||||
def write(self, message) -> None: ...
|
||||
def flush(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
@@ -140,9 +140,9 @@ class COMScript:
|
||||
def Reset(self) -> None: ...
|
||||
def ChangeScriptState(self, state) -> None: ...
|
||||
def ApplyInScriptedSection(self, codeBlock: AXScriptCodeBlock | None, fn, args): ...
|
||||
def CompileInScriptedSection(self, codeBlock: AXScriptCodeBlock, type, realCode: Incomplete | None = None): ...
|
||||
def ExecInScriptedSection(self, codeBlock: AXScriptCodeBlock, globals, locals: Incomplete | None = None): ...
|
||||
def EvalInScriptedSection(self, codeBlock, globals, locals: Incomplete | None = None): ...
|
||||
def CompileInScriptedSection(self, codeBlock: AXScriptCodeBlock, type, realCode=None): ...
|
||||
def ExecInScriptedSection(self, codeBlock: AXScriptCodeBlock, globals, locals=None): ...
|
||||
def EvalInScriptedSection(self, codeBlock, globals, locals=None): ...
|
||||
def HandleException(self, codeBlock: AXScriptCodeBlock | None) -> NoReturn: ...
|
||||
def BeginScriptedSection(self) -> None: ...
|
||||
def EndScriptedSection(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user