remove "Union[str, str]" (#4838)

I grepped and didn't find any other instances of redundant unions like this one.
This commit is contained in:
Jelle Zijlstra
2020-12-18 12:13:41 -08:00
committed by GitHub
parent 60e6a3560e
commit 3e9ed39bec

View File

@@ -382,7 +382,7 @@ class str(Sequence[str]):
def maketrans(__x: str, __y: str, __z: Optional[str] = ...) -> Dict[int, Union[int, None]]: ...
def __add__(self, s: str) -> str: ...
# Incompatible with Sequence.__contains__
def __contains__(self, o: Union[str, str]) -> bool: ... # type: ignore
def __contains__(self, o: str) -> bool: ... # type: ignore
def __eq__(self, x: object) -> bool: ...
def __ge__(self, x: str) -> bool: ...
def __getitem__(self, i: Union[int, slice]) -> str: ...