From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 8 May 2025 01:34:48 +0000 (+0100) Subject: gh-127833: lexical analysis: Add backticks to BOM example (#132407) X-Git-Tag: v3.15.0a1~1846 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0552ce0fb24d33b51fdd02a589ede95aabc0d8b5;p=thirdparty%2FPython%2Fcpython.git gh-127833: lexical analysis: Add backticks to BOM example (#132407) --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index ff801a7d4fc4..b84539463628 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -99,7 +99,7 @@ which is recognized by Bram Moolenaar's VIM. If no encoding declaration is found, the default encoding is UTF-8. If the implicit or explicit encoding of a file is UTF-8, an initial UTF-8 byte-order -mark (b'\xef\xbb\xbf') is ignored rather than being a syntax error. +mark (``b'\xef\xbb\xbf'``) is ignored rather than being a syntax error. If an encoding is declared, the encoding name must be recognized by Python (see :ref:`standard-encodings`). The