diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-04-27 01:29:13 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-04-27 01:29:13 +0900 |
commit | bee44bedb100d325e4e9dad681521819bd774f5f (patch) | |
tree | c741c01b03fc1fbd47392ea28a79af10d42cb941 | |
parent | 42aa293679ef962105183742e3706ee0ce5702f3 (diff) | |
download | sphinx-git-bee44bedb100d325e4e9dad681521819bd774f5f.tar.gz |
Fix mypy violation
-rw-r--r-- | sphinx/ext/autodoc/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index 3b7b5a71a..8f8c609ff 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -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: |