mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 20:54:32 +08:00
Add aifc.__all__ (#7287)
This commit is contained in:
1 parent
748e4d3a20
commit
f250c3f18d
1 file changed
+5
@@ -4,6 +4,11 @@ from types import TracebackType
|
||||
from typing import IO, Any, NamedTuple, Union, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
__all__ = ["Error", "open"]
|
||||
else:
|
||||
__all__ = ["Error", "open", "openfp"]
|
||||
|
||||
class Error(Exception): ...
|
||||
|
||||
class _aifc_params(NamedTuple):
|
||||
|
||||
Reference in new issue
Block a user