remove references to "Text" in Python 3-only stubs (#4251)

This commit is contained in:
Jelle Zijlstra
2020-06-22 03:39:01 -07:00
committed by GitHub
parent 66a9a4b5ce
commit e1d89e5742
6 changed files with 22 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
import sys
from _typeshed import AnyPath
from typing import Optional, Sequence, Text
from typing import Optional, Sequence
from types import SimpleNamespace
class EnvBuilder:
@@ -39,4 +39,4 @@ elif sys.version_info >= (3, 6):
else:
def create(env_dir: AnyPath, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., with_pip: bool = ...) -> None: ...
def main(args: Optional[Sequence[Text]] = ...) -> None: ...
def main(args: Optional[Sequence[str]] = ...) -> None: ...