mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
@@ -77,9 +77,10 @@ def open(f: _File, mode: Literal["w", "wb"]) -> Aifc_write: ...
|
||||
@overload
|
||||
def open(f: _File, mode: Optional[str] = ...) -> Any: ...
|
||||
|
||||
@overload
|
||||
def openfp(f: _File, mode: Literal["r", "rb"]) -> Aifc_read: ...
|
||||
@overload
|
||||
def openfp(f: _File, mode: Literal["w", "wb"]) -> Aifc_write: ...
|
||||
@overload
|
||||
def openfp(f: _File, mode: Optional[str] = ...) -> Any: ...
|
||||
if sys.version_info < (3, 9):
|
||||
@overload
|
||||
def openfp(f: _File, mode: Literal["r", "rb"]) -> Aifc_read: ...
|
||||
@overload
|
||||
def openfp(f: _File, mode: Literal["w", "wb"]) -> Aifc_write: ...
|
||||
@overload
|
||||
def openfp(f: _File, mode: Optional[str] = ...) -> Any: ...
|
||||
|
||||
@@ -3,7 +3,6 @@ _dummy_thread
|
||||
_thread.ExceptHookArgs
|
||||
_thread._ExceptHookArgs
|
||||
_weakref.getweakrefcount
|
||||
aifc.openfp
|
||||
array.array.fromstring
|
||||
array.array.tostring
|
||||
ast.Bytes.__new__
|
||||
|
||||
Reference in New Issue
Block a user