Always use bool and Literal for Python compat code (#9213)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-11-16 18:00:59 +00:00
1 parent 9137258cf4
commit c6261372d7
8 files changed
+30 -23

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ from typing_extensions import Literal, TypeAlias
_OpenFile: TypeAlias = StrOrBytesPath | FileDescriptor
is_64bits: bool
is_py35: bool
is_py36: bool
is_py35: Literal[True]
is_py36: Literal[True]
is_py37: bool
is_py38: bool
is_py39: bool