update the type hint

This commit is contained in:
Keewis 2020-08-07 15:41:17 +02:00
parent 9d60f3456f
commit b4dec34ecf

View File

@ -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.