Bug #1098497: various small typo's, grammar and markup nits.
This commit is contained in:
parent
c9a4762bd6
commit
158df10341
|
@ -75,7 +75,7 @@ Reference}.
|
|||
If you ever wrote a large shell script, you probably know this
|
||||
feeling: you'd love to add yet another feature, but it's already so
|
||||
slow, and so big, and so complicated; or the feature involves a system
|
||||
call or other function that is only accessible from C \ldots Usually
|
||||
call or other function that is only accessible from C\ldots\ Usually
|
||||
the problem at hand isn't serious enough to warrant rewriting the
|
||||
script in C; perhaps the problem requires variable-length strings or
|
||||
other data types (like sorted lists of file names) that are easy in
|
||||
|
@ -313,7 +313,7 @@ platforms, this first line must end with a \UNIX-style line ending
|
|||
the hash, or pound, character, \character{\#}, is used to start a
|
||||
comment in Python.
|
||||
|
||||
The script can be given a executable mode, or permission, using the
|
||||
The script can be given an executable mode, or permission, using the
|
||||
\program{chmod} command:
|
||||
|
||||
\begin{verbatim}
|
||||
|
@ -852,7 +852,7 @@ auto-conversions where necessary.
|
|||
|
||||
Unicode has the advantage of providing one ordinal for every character
|
||||
in every script used in modern and ancient texts. Previously, there
|
||||
were only 256 possible ordinals for script characters and texts were
|
||||
were only 256 possible ordinals for script characters. Texts were
|
||||
typically bound to a code page which mapped the ordinals to script
|
||||
characters. This lead to very much confusion especially with respect
|
||||
to internationalization (usually written as \samp{i18n} ---
|
||||
|
@ -867,7 +867,7 @@ normal strings:
|
|||
u'Hello World !'
|
||||
\end{verbatim}
|
||||
|
||||
The small \character{u} in front of the quote indicates that an
|
||||
The small \character{u} in front of the quote indicates that a
|
||||
Unicode string is supposed to be created. If you want to include
|
||||
special characters in the string, you can do so by using the Python
|
||||
\emph{Unicode-Escape} encoding. The following example shows how:
|
||||
|
|
Loading…
Reference in New Issue