aifc: update for py39 (#4126)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-05-27 21:42:32 -07:00
committed by GitHub
parent c3c6abc153
commit e8d0cadf7b
2 changed files with 7 additions and 7 deletions

View File

@@ -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: ...

View File

@@ -3,7 +3,6 @@ _dummy_thread
_thread.ExceptHookArgs
_thread._ExceptHookArgs
_weakref.getweakrefcount
aifc.openfp
array.array.fromstring
array.array.tostring
ast.Bytes.__new__