diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-27 20:25:04 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-28 09:23:26 +0300 |
commit | 337a5c484a0d5249f8e0ec5017db3152e83c00e7 (patch) | |
tree | c88e9ecdf128d511efdf895e6e89e025c93bc12b /sphinx/ext/ifconfig.py | |
parent | 83e4107a309e9fc99cf9c9c65b748897b9d5a0e5 (diff) |
Fix annotaions for extensions
Diffstat (limited to 'sphinx/ext/ifconfig.py')
-rw-r--r-- | sphinx/ext/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/ifconfig.py b/sphinx/ext/ifconfig.py index a66023107..156aaf614 100644 --- a/sphinx/ext/ifconfig.py +++ b/sphinx/ext/ifconfig.py @@ -57,7 +57,7 @@ class IfConfig(SphinxDirective): def process_ifconfig_nodes(app, doctree, docname): - # type: (Sphinx, nodes.Node, unicode) -> None + # type: (Sphinx, nodes.document, unicode) -> None ns = dict((confval.name, confval.value) for confval in app.config) ns.update(app.config.__dict__.copy()) ns['builder'] = app.builder.name |