Don't use a literal for TYPE_CHECKING (#7062)

Partly addresses #7061
This commit is contained in:
Sebastian Rittau authored and GitHub committed 2022-01-27 23:51:22 -08:00
1 parent 40f5fcc82f
commit b87ebc5375
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -304,7 +304,7 @@ class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
Text = unicode
TYPE_CHECKING: Literal[True]
TYPE_CHECKING: bool
class IO(Iterator[AnyStr], Generic[AnyStr]):
# TODO detach