mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 16:38:55 +08:00
Always use bool and Literal for Python compat code (#9213)
This commit is contained in:
1 parent
9137258cf4
commit
c6261372d7
8 files changed
+30
-23
No files matched your search
@@ -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