summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieleades <33452915+danieleades@users.noreply.github.com>2022-01-14 08:57:56 +0000
committerGitHub <noreply@github.com>2022-01-14 08:57:56 +0000
commit99f905b8b4935ba8c316d081853092a415bb0ea1 (patch)
tree158611347829b829822ef4df704a1c0d75ca0113
parent6697ed62ed38287b72dd6ff213ba41d9d8f86466 (diff)
downloadsphinx-git-99f905b8b4935ba8c316d081853092a415bb0ea1.tar.gz
Update sphinx/writers/texinfo.py
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
-rw-r--r--sphinx/writers/texinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py
index 47f61e9b7..7913972a9 100644
--- a/sphinx/writers/texinfo.py
+++ b/sphinx/writers/texinfo.py
@@ -320,7 +320,7 @@ class TexinfoTranslator(SphinxTranslator):
"""Collect the relative links (next, previous, up) for each "node"."""
rellinks = self.rellinks
node_menus = self.node_menus
- for id in node_menus.keys():
+ for id in node_menus:
rellinks[id] = ['', '', '']
# up's
for id, entries in node_menus.items():