From: Jean-François B. <2589111+jfbu@users.noreply.github.com> Date: Sat, 30 May 2026 15:19:56 +0000 (+0200) Subject: Remove unneeded LaTeX code from latex_elements['preamble'] (GH-124630) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=25a5d874f28fcf55c949da06f48e77d985b75fdb;p=thirdparty%2FPython%2Fcpython.git Remove unneeded LaTeX code from latex_elements['preamble'] (GH-124630) It was a workaround for Sphinx < 1.5. --- diff --git a/Doc/conf.py b/Doc/conf.py index e2dff74538a3..3856f4fe9b37 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -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').