summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2020-08-07 15:41:17 +0200
committerKeewis <keewis@posteo.de>2020-08-07 15:41:17 +0200
commitb4dec34ecfa36628452097911b182d0df6265e68 (patch)
tree7cc4c21ba28fd44ff81712ef7304ff8b18a64a1a
parent9d60f3456f74cb98f2a3d442a2be13ad7099a4d4 (diff)
downloadsphinx-git-b4dec34ecfa36628452097911b182d0df6265e68.tar.gz
update the type hint
-rw-r--r--sphinx/ext/autosummary/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py
index d2fe4af68..739636d7e 100644
--- a/sphinx/ext/autosummary/__init__.py
+++ b/sphinx/ext/autosummary/__init__.py
@@ -299,7 +299,7 @@ class Autosummary(SphinxDirective):
raise exc # re-raise ImportError if instance attribute not found
def create_documenter(self, app: Sphinx, obj: Any,
- parent: Any, full_name: str) -> "Type[Documenter]":
+ parent: Any, full_name: str) -> "Documenter":
"""Get an autodoc.Documenter class suitable for documenting the given
object.