diff options
author | François Freitag <mail@franek.fr> | 2020-11-07 11:53:30 +0100 |
---|---|---|
committer | François Freitag <mail@franek.fr> | 2020-11-07 11:56:20 +0100 |
commit | b1caecda3954d9128509fb9830a81ecb68be65b0 (patch) | |
tree | fd078ce239ad328dad039354657e38c50619bda2 | |
parent | 6d5e43a0ffc99830c91e37c026d89a6d70fe52c8 (diff) | |
download | sphinx-git-b1caecda3954d9128509fb9830a81ecb68be65b0.tar.gz |
Remove additional mentions of Python 3.5
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | sphinx/util/inspect.py | 2 | ||||
-rw-r--r-- | sphinx/util/typing.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ extras_require = { 'pytest', 'pytest-cov', 'html5lib', - 'typed_ast', # for py35-37 + 'typed_ast', # for py36-37 'cython', ], } diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py index 75cc5c600..ca82186ee 100644 --- a/sphinx/util/inspect.py +++ b/sphinx/util/inspect.py @@ -271,7 +271,7 @@ def is_singledispatch_method(obj: Any) -> bool: try: from functools import singledispatchmethod # type: ignore return isinstance(obj, singledispatchmethod) - except ImportError: # py35-37 + except ImportError: # py36-37 return False diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py index c4a145818..f77c3300b 100644 --- a/sphinx/util/typing.py +++ b/sphinx/util/typing.py @@ -22,7 +22,7 @@ else: from typing import _ForwardRef # type: ignore class ForwardRef: - """A pseudo ForwardRef class for py35 and py36.""" + """A pseudo ForwardRef class for py36.""" def __init__(self, arg: Any, is_argument: bool = True) -> None: self.arg = arg |