Skip to content

Commit beba74c

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

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
@@ -119,7 +119,7 @@ def __init__(
119119

120120
@property
121121
def _children(self) -> Sequence[Symbol]:
122-
return self._childrenByName.values()
122+
return list(self._childrenByName.values())
123123

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

0 commit comments

Comments
 (0)