Skip to content

Commit

Permalink
Distinguish the names of two mutually-shadowing variables whose types…
Browse files Browse the repository at this point in the history
… have diverged (#14)

(cherry picked from commit 1425734)
  • Loading branch information
jayaddison authored and AA-Turner committed Jul 27, 2024
1 parent 13151e9 commit 8db07bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinxcontrib/devhelp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def write_index(title: str, refs: list[Any], subitems: Any) -> None:
write_index("%s %s" % (parent_title, subitem[0]),
subitem[1], [])

for (key, group) in index:
for title, (refs, subitems, key) in group:
for (_group_key, group) in index:
for title, (refs, subitems, _category_key) in group:
write_index(title, refs, subitems)

# Dump the XML file
Expand Down

0 comments on commit 8db07bc

Please sign in to comment.