Remove compatibility aliases (#5464)

* Remove compatibility aliases

Remove a few instances of Text

Use aliases from _typeshed

* Remove unused imports
This commit is contained in:
Sebastian Rittau authored and GitHub committed 2021-05-15 20:49:20 +03:00
1 parent 056981b957
commit 841a365284
26 files changed
+483 -585

No files matched your search

+1 -4
View File
@@ -19,8 +19,5 @@ from typing import Any, List, Pattern, Union
MAXCODE: int
def dis(code: List[_NamedIntConstant]) -> None: ...
_IsStringType = bool
def isstring(obj: Any) -> _IsStringType: ...
def isstring(obj: Any) -> bool: ...
def compile(p: Union[str, bytes, SubPattern], flags: int = ...) -> Pattern[Any]: ...