summaryrefslogtreecommitdiff
path: root/sphinx/util/inspect.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-08 12:36:16 +0900
committerGitHub <noreply@github.com>2020-11-08 12:36:16 +0900
commita3145beddf1aaf4d1bd76c0670473f0e7d8f4b64 (patch)
treebd236d6d736c155732be32a513355918b784e9a5 /sphinx/util/inspect.py
parent8bf84167a30aa05886fcc1ed8895c8c20e939d89 (diff)
parent0914c9266a5d6642d0efe9f0ef4dd6b825a03193 (diff)
downloadsphinx-git-a3145beddf1aaf4d1bd76c0670473f0e7d8f4b64.tar.gz
Merge pull request #8378 from tk0miya/drop_py35_support
Drop code for supporting py35
Diffstat (limited to 'sphinx/util/inspect.py')
-rw-r--r--sphinx/util/inspect.py2
1 files changed, 1 insertions, 1 deletions
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