]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unneeded LaTeX code from latex_elements['preamble'] (GH-124630)
authorJean-François B. <2589111+jfbu@users.noreply.github.com>
Sat, 30 May 2026 15:19:56 +0000 (17:19 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2026 15:19:56 +0000 (15:19 +0000)
It was a workaround for Sphinx < 1.5.

Doc/conf.py

index e2dff74538a3422025a19dadab3817795058810f..3856f4fe9b375c42b7fb01a0dd62073ee97faf20 100644 (file)
@@ -349,8 +349,6 @@ latex_elements = {
   \sphinxstrong{Python Software Foundation}\\
   Email: \sphinxemail{docs@python.org}
 }
-\let\Verbatim=\OriginalVerbatim
-\let\endVerbatim=\endOriginalVerbatim
 \setcounter{tocdepth}{2}
 ''',
     # The paper size ('letterpaper' or 'a4paper').