mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
update the type hint
This commit is contained in:
parent
9d60f3456f
commit
b4dec34ecf
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user