mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 01:38:40 +08:00
Always use bool and Literal for Python compat code (#9213)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user