diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-16 19:05:38 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-16 19:05:38 (GMT) |
commit | f9b526dbfd9d10f105c96bde76c39232472beb64 (patch) | |
tree | 848a306383b6f2cc8a826214d9fee36e28ef32c0 /Doc/tut | |
parent | f8316638afb2eff261c3854ee6e02b9bc47d0955 (diff) | |
download | cpython-f9b526dbfd9d10f105c96bde76c39232472beb64.zip cpython-f9b526dbfd9d10f105c96bde76c39232472beb64.tar.gz cpython-f9b526dbfd9d10f105c96bde76c39232472beb64.tar.bz2 |
More of Rob W. W. Hooft's spelling fixes. The only ones left now are the
distutils patches, which I'll leave to the distutils maintainers.
Tip: review the patch like this:
grep "^[\!+-] " <patchfile>
To get a quick and easy way to review the actual changes. Most of the
changes are single-line ones, anyway.
Diffstat (limited to 'Doc/tut')
-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 5baf03c..fd09c07 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -741,7 +741,7 @@ The built-in function \function{len()} returns the length of a string: Starting with Python 2.0 a new data type for storing text data is available to the programmer: the Unicode object. It can be used to store and manipulate Unicode data (see \url{http://www.unicode.org}) -and intergrates well with the existing string objects providing +and integrates well with the existing string objects providing auto-conversions where necessary. Unicode has the advantage of providing one ordinal for every character @@ -798,7 +798,7 @@ The raw mode is most useful when you have to enter lots of backslashes e.g. in regular expressions. Apart from these standard encodings, Python provides a whole set of -other ways of creating Unicod strings on the basis of a known +other ways of creating Unicode strings on the basis of a known encoding. The builtin \function{unicode()}\bifuncindex{unicode} provides access @@ -807,7 +807,7 @@ more well known encodings which these codecs can convert are \emph{Latin-1}, \emph{ASCII}, \emph{UTF-8} and \emph{UTF-16}. The latter two are variable length encodings which permit to store Unicode characters in 8 or 16 bits. Python uses UTF-8 as default encoding. This becomes -noticable when printing Unicode strings or writing them to files. +noticeable when printing Unicode strings or writing them to files. \begin{verbatim} >>> u"äöü" @@ -3019,7 +3019,7 @@ by the \keyword{try} \ldots\ \keyword{except} statement. When an exception occurs, it may have an associated value, also known as -the exceptions's \emph{argument}. +the exception's \emph{argument}. The presence and type of the argument depend on the exception type. For exception types which have an argument, the except clause may specify a variable after the exception name (or list) to receive the |