Skip to content

Commit 7d9c3ac

Browse files
jayaddisonAA-Turner
authored andcommitted
Distinguish the names of two mutually-shadowing variables whose types have diverged (#14)
1 parent b26d89b commit 7d9c3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxcontrib/devhelp/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ def write_index(title: str, refs: list[Any], subitems: Any) -> None:
118118
write_index("%s %s" % (parent_title, subitem[0]),
119119
subitem[1], [])
120120

121-
for (key, group) in index:
122-
for title, (refs, subitems, key) in group:
121+
for (_group_key, group) in index:
122+
for title, (refs, subitems, _category_key) in group:
123123
write_index(title, refs, subitems)
124124

125125
# Dump the XML file

0 commit comments

Comments
 (0)