Fix mypy violation

This commit is contained in:
Takeshi KOMIYA
2018-01-06 21:01:04 +09:00
parent bf0153d748
commit c1b3efe203

View File

@@ -151,7 +151,7 @@ def import_module(modname, warningiserror=False):
def import_object(modname, objpath, objtype='', attrgetter=safe_getattr, warningiserror=False):
# type: (str, List[unicode], str, Callable[[Any, unicode], Any]) -> Any
# type: (str, List[unicode], str, Callable[[Any, unicode], Any], bool) -> Any
if objpath:
logger.debug('[autodoc] from %s import %s', modname, '.'.join(objpath))
else: