Fix mypy violation

This commit is contained in:
Takeshi KOMIYA 2020-04-27 01:29:13 +09:00
parent 42aa293679
commit bee44bedb1

View File

@ -732,7 +732,7 @@ class Documenter:
# This is used for situations where you have a module that collects the
# functions and classes of internal submodules.
guess_modname = self.get_real_modname()
self.real_modname = real_modname or guess_modname
self.real_modname = real_modname or guess_modname # type: str
# try to also get a source code analyzer for attribute docs
try: