Drop support for Python 3.5 (#4675)

Python 3.5 EOL was on 2020-09-30.
This commit is contained in:
Sebastian Rittau
2020-11-02 16:18:20 +01:00
committed by GitHub
parent 57b86e0e71
commit d2a7889fe0
64 changed files with 546 additions and 1174 deletions

View File

@@ -1,5 +1,6 @@
import sys
from builtins import open as _builtin_open
from os import PathLike
from token import * # noqa: F403
from typing import (
Any,
@@ -61,14 +62,7 @@ def untokenize(iterable: Iterable[_Token]) -> Any: ...
def detect_encoding(readline: Callable[[], bytes]) -> Tuple[str, Sequence[bytes]]: ...
def tokenize(readline: Callable[[], bytes]) -> Generator[TokenInfo, None, None]: ...
def generate_tokens(readline: Callable[[], str]) -> Generator[TokenInfo, None, None]: ... # undocumented
if sys.version_info >= (3, 6):
from os import PathLike
def open(filename: Union[str, bytes, int, PathLike[Any]]) -> TextIO: ...
elif sys.version_info >= (3, 2):
def open(filename: Union[str, bytes, int]) -> TextIO: ...
def open(filename: Union[str, bytes, int, PathLike[Any]]) -> TextIO: ...
def group(*choices: str) -> str: ... # undocumented
def any(*choices: str) -> str: ... # undocumented
def maybe(*choices: str) -> str: ... # undocumented
@@ -116,11 +110,7 @@ PseudoExtras: str # undocumented
PseudoToken: str # undocumented
endpats: Dict[str, str] # undocumented
if sys.version_info < (3, 6):
single_quoted: Dict[str, str] # undocumented
triple_quoted: Dict[str, str] # undocumented
else:
single_quoted: Set[str] # undocumented
triple_quoted: Set[str] # undocumented
single_quoted: Set[str] # undocumented
triple_quoted: Set[str] # undocumented
tabsize: int # undocumented