mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove additional mentions of Python 3.5
This commit is contained in:
parent
6d5e43a0ff
commit
b1caecda39
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ extras_require = {
|
||||
'pytest',
|
||||
'pytest-cov',
|
||||
'html5lib',
|
||||
'typed_ast', # for py35-37
|
||||
'typed_ast', # for py36-37
|
||||
'cython',
|
||||
],
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user