mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-26 19:47:14 +08:00
Always use bool and Literal for Python compat code (#9213)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import Any
|
||||
from typing_extensions import Literal
|
||||
|
||||
PY3: Any
|
||||
PY3: Literal[True]
|
||||
text_type = str
|
||||
binary_type = bytes
|
||||
environb: Any
|
||||
|
||||
Reference in New Issue
Block a user