Skip to content

Commit 3c98d17

Browse files
committed
Add subtype to AST node warning
2 parents 87f1ce3 + 09c7b82 commit 3c98d17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sphinx_autodoc_typehints/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ def _one_child(module: Module) -> stmt | None:
572572
name,
573573
len(children),
574574
type="sphinx_autodoc_typehints",
575+
subtype="multiple_ast_nodes",
575576
)
576577
return None
577578
return children[0]

0 commit comments

Comments
 (0)