Add aifc.__all__ (#7287)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-19 12:21:49 -08:00
1 parent 748e4d3a20
commit f250c3f18d
1 file changed
+5
+5
View File
@@ -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):