Skip to content

Commit 6c057fa

Browse files
committed
Fix mypy type-check error
Signed-off-by: Donald Hunter <[email protected]>
1 parent ce1eb96 commit 6c057fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/domains/c/_symbol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def __init__(
118118

119119
@property
120120
def _children(self) -> Sequence[Symbol]:
121-
return self._childrenByName.values()
121+
return list(self._childrenByName.values())
122122

123123
def _add_child(self, child: Symbol) -> None:
124124
name = child.ident.name

0 commit comments

Comments
 (0)