gh-127833: lexical analysis: Add backticks to BOM example (#132407)

This commit is contained in:
Stan Ulbrych 2025-05-08 02:34:48 +01:00 committed by GitHub
parent b48599b801
commit 0552ce0fb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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