mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
parent
42aa293679
commit
bee44bedb1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user