summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc/directive.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-04 14:37:15 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-04 14:47:43 +0900
commit1b0d4672a41e91289292dd5d05b7fe09a8feec17 (patch)
treef30edab2c63042c88ed1e1ca8fe9cd9be9d71db0 /sphinx/ext/autodoc/directive.py
parentf7a2e081c867e5fb125561f1a3ec26d851a0aeeb (diff)
downloadsphinx-git-1b0d4672a41e91289292dd5d05b7fe09a8feec17.tar.gz
refactor: use raw Type for type annotations
Diffstat (limited to 'sphinx/ext/autodoc/directive.py')
-rw-r--r--sphinx/ext/autodoc/directive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py
index 8ed622d23..c58d0c411 100644
--- a/sphinx/ext/autodoc/directive.py
+++ b/sphinx/ext/autodoc/directive.py
@@ -79,7 +79,7 @@ class DocumenterBridge:
return self._reporter
-def process_documenter_options(documenter: "Type[Documenter]", config: Config, options: Dict
+def process_documenter_options(documenter: Type[Documenter], config: Config, options: Dict
) -> Options:
"""Recognize options of Documenter from user input."""
for name in AUTODOC_DEFAULT_OPTIONS: