clean python 3 specific stuff from stdlib/@python2 stubs (#5451)

This commit is contained in:
Akuli
2021-05-15 01:19:05 +03:00
committed by GitHub
parent f94d838814
commit 5ec4f06263
121 changed files with 1024 additions and 4801 deletions

View File

@@ -74,9 +74,8 @@ class _NNTPBase:
def over(
self, message_spec: Union[None, str, List[Any], Tuple[Any, ...]], *, file: _File = ...
) -> Tuple[str, List[Tuple[int, Dict[str, str]]]]: ...
if sys.version_info < (3, 9):
def xgtitle(self, group: str, *, file: _File = ...) -> Tuple[str, List[Tuple[str, str]]]: ...
def xpath(self, id: Any) -> Tuple[str, str]: ...
def xgtitle(self, group: str, *, file: _File = ...) -> Tuple[str, List[Tuple[str, str]]]: ...
def xpath(self, id: Any) -> Tuple[str, str]: ...
def date(self) -> Tuple[str, datetime.datetime]: ...
def post(self, data: Union[bytes, Iterable[bytes]]) -> str: ...
def ihave(self, message_id: Any, data: Union[bytes, Iterable[bytes]]) -> str: ...