Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieleades <33452915+danieleades@users.noreply.github.com>2022-01-14 11:57:56 +0300
committerGitHub <noreply@github.com>2022-01-14 11:57:56 +0300
commit99f905b8b4935ba8c316d081853092a415bb0ea1 (patch)
tree158611347829b829822ef4df704a1c0d75ca0113 /sphinx/writers/texinfo.py
parent6697ed62ed38287b72dd6ff213ba41d9d8f86466 (diff)
Update sphinx/writers/texinfo.py
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
Diffstat (limited to 'sphinx/writers/texinfo.py')
-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():