diff Doc/lib/libstdtypes.tex @ 34296:67f2190e1f6d 2.4

SF Patch #1093896: miscellaneous doc typos
author Raymond Hettinger <python@rcn.com>
date Sat, 01 Jan 2005 00:34:56 +0000
parents 4b601bd346a4
children 68020bd1b9e2
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex	Fri Dec 31 11:23:20 2004 +0000
+++ b/Doc/lib/libstdtypes.tex	Sat Jan 01 00:34:56 2005 +0000
@@ -414,7 +414,7 @@
 \code{'xyzzy'}, \code{"frobozz"}.  See chapter 2 of the
 \citetitle[../ref/strings.html]{Python Reference Manual} for more about
 string literals.  Unicode strings are much like strings, but are
-specified in the syntax using a preceeding \character{u} character:
+specified in the syntax using a preceding \character{u} character:
 \code{u'abc'}, \code{u"def"}.  Lists are constructed with square brackets,
 separating items with commas: \code{[a, b, c]}.  Tuples are
 constructed by the comma operator (not within square brackets), with
@@ -546,7 +546,7 @@
 \code{\var{s}+=\var{t}}.  When applicable, this optimization makes
 quadratic run-time much less likely.  This optimization is both version
 and implementation dependent.  For performance sensitive code, it is
-preferrable to use the \method{str.join()} method which assures consistent
+preferable to use the \method{str.join()} method which assures consistent
 linear concatenation performance across versions and implementations.
 \versionchanged[Formerly, string concatenation never occurred in-place]{2.4}
 
@@ -932,8 +932,8 @@
   \lineiii{i}{Signed integer decimal.}{}
   \lineiii{o}{Unsigned octal.}{(1)}
   \lineiii{u}{Unsigned decimal.}{}
-  \lineiii{x}{Unsigned hexidecimal (lowercase).}{(2)}
-  \lineiii{X}{Unsigned hexidecimal (uppercase).}{(2)}
+  \lineiii{x}{Unsigned hexadecimal (lowercase).}{(2)}
+  \lineiii{X}{Unsigned hexadecimal (uppercase).}{(2)}
   \lineiii{e}{Floating point exponential format (lowercase).}{}
   \lineiii{E}{Floating point exponential format (uppercase).}{}
   \lineiii{f}{Floating point decimal format.}{}
@@ -1202,7 +1202,7 @@
 A set is greater than another set if and only if the first set is a proper
 superset of the second set (is a superset, but is not equal).
 
-Instanceas of \class{set} are compared to instances of \class{frozenset} based
+Instances of \class{set} are compared to instances of \class{frozenset} based
 on their members.  For example, \samp{set('abc') == frozenset('abc')} returns
 \code{True}.