diff --git a/pep_sphinx_extensions/pep_processor/html/pep_html_translator.py b/pep_sphinx_extensions/pep_processor/html/pep_html_translator.py index ae1e1e028a0..8530ea77151 100644 --- a/pep_sphinx_extensions/pep_processor/html/pep_html_translator.py +++ b/pep_sphinx_extensions/pep_processor/html/pep_html_translator.py @@ -91,7 +91,7 @@ def depart_label(self, node) -> None: def visit_bullet_list(self, node): if isinstance(node.parent, nodes.section) and "contents" in node.parent["names"]: - self.body.append("
Contents") + self.body.append("
Table of Contents") self.context.append("
") super().visit_bullet_list(node)