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

@@ -1,7 +1,8 @@
from typing import Any
from typing_extensions import Literal
PY2: Any
PY35: Any
PY2: Literal[False]
PY35: Literal[True]
annotation_value_types: Any
string_types = str