]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-127833: lexical analysis: Add backticks to BOM example (GH-132407) (#133633)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 May 2025 01:42:05 +0000 (03:42 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 01:42:05 +0000 (01:42 +0000)
gh-127833: lexical analysis: Add backticks to BOM example (GH-132407)
(cherry picked from commit 0552ce0fb24d33b51fdd02a589ede95aabc0d8b5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Doc/reference/lexical_analysis.rst

index 6fbe922cad6a3ff99069f03bd6d7a482bbdc7045..0bfd63d5b33b9a7c57614da5ba3e74b56cacdce4 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