summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-22 18:39:19 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-22 18:39:19 (GMT)
commit08c02dbb85a8eebe3395658260dec36dd4169381 (patch)
tree76615595accfba30196bf91d3c07009871c1dd23 /Doc
parentc9878e1b220b748788c3faa656257d5da4cd46c7 (diff)
downloadcpython-08c02dbb85a8eebe3395658260dec36dd4169381.zip
cpython-08c02dbb85a8eebe3395658260dec36dd4169381.tar.gz
cpython-08c02dbb85a8eebe3395658260dec36dd4169381.tar.bz2
[ 1243081 ] repair typos
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Doc/lib/libsets.tex6
-rw-r--r--Doc/whatsnew/whatsnew25.tex2
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 63a73b1..d6b5ffe 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -1173,7 +1173,7 @@ It's a function
There are several built-in functions that are no longer essential to learn,
know or use in modern Python programming. They have been kept here to
-maintain backwards compatability with programs written for older versions
+maintain backwards compatibility with programs written for older versions
of Python.
Python programmers, trainers, students and bookwriters should feel free to
diff --git a/Doc/lib/libsets.tex b/Doc/lib/libsets.tex
index e90e527..40ea031 100644
--- a/Doc/lib/libsets.tex
+++ b/Doc/lib/libsets.tex
@@ -169,8 +169,8 @@ an argument.
Also note, the module also includes a \method{union_update()} method
which is an alias for \method{update()}. The method is included for
-backwards compatability. Programmers should prefer the
-\method{update()} method because it the one supported by the builtin
+backwards compatibility. Programmers should prefer the
+\method{update()} method because it is the one supported by the builtin
\class{set()} and \class{frozenset()} types.
\subsection{Example \label{set-example}}
@@ -254,7 +254,7 @@ on lessons learned from the \module{sets} module. The key differences are:
\item The built-in versions have more space efficient pickles.
\item The built-in versions do not have a \method{union_update()} method.
Instead, use the \method{update()} method which is equivalent.
-\item The built-in versions do not have a \method{_repr(sort=True)} method.
+\item The built-in versions do not have a \method{_repr(sorted=True)} method.
Instead, use the built-in \function{repr()} and \function{sorted()}
functions: \code{repr(sorted(s))}.
\item The built-in version does not have a protocol for automatic conversion
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 2e49e21..33db0e8 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -216,7 +216,7 @@ Also, constants named \member{os.SEEK_SET}, \member{os.SEEK_CUR}, and
\function{os.lseek()} function.
\item The \class{TarFile} class in the \module{tarfile} module now has
-a \method{extractall()} method that extracts all members from the
+an \method{extractall()} method that extracts all members from the
archive into the current working directory. It's also possible to set
a different directory as the extraction target, and to unpack only a
subset of the archive's members. (Contributed by Lars Gust\"abel.)