We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3edbeb0 commit 9bda71dCopy full SHA for 9bda71d
1 file changed
progressbar/base.py
@@ -24,4 +24,7 @@ class Undefined(metaclass=FalseMeta):
24
IO = types.IO # type: ignore
25
TextIO = types.TextIO # type: ignore
26
except AttributeError:
27
- from typing.io import IO # type: ignore
+ from typing.io import IO, TextIO # type: ignore
28
+
29
+assert IO
30
+assert TextIO
0 commit comments