diff --git a/importlib_resources/_legacy.py b/importlib_resources/_legacy.py index 3b9a5342..2ddec5f9 100644 --- a/importlib_resources/_legacy.py +++ b/importlib_resources/_legacy.py @@ -2,8 +2,7 @@ import pathlib import types -from typing import Union, Iterable, ContextManager -from typing.io import BinaryIO, TextIO +from typing import Union, Iterable, ContextManager, BinaryIO, TextIO from . import _common