Skip to content

Commit 9166ca7

Browse files
Update Doc/tools/extensions/pydoc_topics.py
Co-authored-by: Éric <merwok@netwok.org>
1 parent 33b4f2e commit 9166ca7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/tools/extensions/pydoc_topics.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ def write_documents(self, _docnames: Set[str]) -> None:
136136
docname = module_info[0]
137137
if docname.startswith('library/'):
138138
doc_file = docname.replace('library/', '')
139-
self.module_docs[module_name] = (
140-
doc_file + f"#module-{module_name}"
141-
)
139+
self.module_docs[module_name] = f"{doc_file}#module-{module_name}"
142140

143141
for docname, label_ids in status_iterator(
144142
doc_labels.items(),

0 commit comments

Comments
 (0)