diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2005-01-09 00:12:48 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2005-01-09 00:12:48 (GMT) |
commit | 158df10341cccffff9999a7dea3e761cb858ab60 (patch) | |
tree | 1fbe83c36392fc358273da6e8905e034ca1d007c /Doc/tut/tut.tex | |
parent | c9a4762bd6387215fe82fd89cf2d7cd889b82a1a (diff) | |
download | cpython-158df10341cccffff9999a7dea3e761cb858ab60.zip cpython-158df10341cccffff9999a7dea3e761cb858ab60.tar.gz cpython-158df10341cccffff9999a7dea3e761cb858ab60.tar.bz2 |
Bug #1098497: various small typo's, grammar and markup nits.
Diffstat (limited to 'Doc/tut/tut.tex')
-rw-r--r-- | Doc/tut/tut.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 6c29710..a0db630 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -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: |