Merge pull request #8458 from tk0miya/drop_py35

Remove code for python3.5
This commit is contained in:
Takeshi KOMIYA
2020-11-21 01:43:45 +09:00
committed by GitHub

View File

@@ -75,9 +75,6 @@ def get_type_hints(obj: Any, globalns: Dict = None, localns: Dict = None) -> Dic
except KeyError:
# a broken class found (refs: https://github.com/sphinx-doc/sphinx/issues/8084)
return {}
except AttributeError:
# AttributeError is raised on 3.5.2 (fixed by 3.5.3)
return {}
def is_system_TypeVar(typ: Any) -> bool: