Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31f3db3

Browse files
committed
Fix the markup so it doesn't break formatting.
1 parent 2d70246 commit 31f3db3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/ref/ref2.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ \subsection{Comments\label{comments}}
7575
\subsection{Encoding declarations\label{encodings}}
7676

7777
If a comment in the first or second line of the Python script matches
78-
the regular expression "coding[=:]\s*([\w-_.]+)", this comment is
78+
the regular expression \regexp{coding[=:]\e s*([\e w-_.]+)}, this comment is
7979
processed as an encoding declaration; the first group of this
8080
expression names the encoding of the source code file. The recommended
8181
forms of this expression are
@@ -91,9 +91,9 @@ \subsection{Encoding declarations\label{encodings}}
9191
\end{verbatim}
9292

9393
which is recognized by Bram Moolenar's VIM. In addition, if the first
94-
bytes of the file are the UTF-8 signature ($'\xef\xbb\xbf'$), the
95-
declared file encoding is UTF-8 (this is supported, among others, by
96-
Microsoft's notepad.exe).
94+
bytes of the file are the UTF-8 byte-order mark
95+
(\code{'\e xef\e xbb\e xbf'}), the declared file encoding is UTF-8
96+
(this is supported, among others, by Microsoft's \program{notepad}).
9797

9898
If an encoding is declared, the encoding name must be recognized by
9999
Python. % XXX there should be a list of supported encodings.

0 commit comments

Comments
 (0)