]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127833: lexical analysis: Add backticks to BOM example (#132407)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 8 May 2025 01:34:48 +0000 (02:34 +0100)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 01:34:48 +0000 (02:34 +0100)
Doc/reference/lexical_analysis.rst

index ff801a7d4fc494a5ade6ac61527fcbcd09364a3e..b8453946362867d19f7571390cb1e416ac11a9b7 100644 (file)
@@ -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