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

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2020-06-22 12:39:01 +02:00
1 parent 66a9a4b5ce
commit e1d89e5742
6 files changed
+22 -22

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ import time
import gzip
import http.client
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Protocol, Text, Tuple, Type, Union, overload
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Protocol, Tuple, Type, Union, overload
from typing_extensions import Literal
from types import TracebackType
from datetime import datetime
@@ -93,7 +93,7 @@ WRAPPERS: Tuple[Type[DateTime], Type[Binary]] # undocumented
class ExpatParser: # undocumented
def __init__(self, target: Unmarshaller) -> None: ...
def feed(self, data: Union[Text, bytes]) -> None: ...
def feed(self, data: Union[str, bytes]) -> None: ...
def close(self) -> None: ...
class Marshaller: