]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[ 1243081 ] repair typos
authorGeorg Brandl <georg@python.org>
Fri, 22 Jul 2005 18:39:19 +0000 (18:39 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 Jul 2005 18:39:19 +0000 (18:39 +0000)
Doc/lib/libfuncs.tex
Doc/lib/libsets.tex
Doc/whatsnew/whatsnew25.tex
Include/objimpl.h
Lib/idlelib/ChangeLog
Lib/plat-mac/aetypes.py
Lib/plat-mac/macostools.py
Misc/NEWS
Modules/cjkcodecs/_codecs_jp.c

index 63a73b1476f9b9a1327ca2295d5a8183e4e140ce..d6b5ffe093a59c16bf524b57020fae1cb2f5f71c 100644 (file)
@@ -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
index e90e527d1ffa553be952784bf4b7e342820f11cb..40ea03197692b98d3fb3865df804c52d8e1e86de 100644 (file)
@@ -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
index 2e49e211b37e7b9b0b76d0abbb2ff37b802d595f..33db0e8140beb4d54841f20960d7969e86aead1c 100644 (file)
@@ -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.)
index 5707e500eef13c96ae9dd1f0ee047c814fa046d3..40b730c41406aa392757b1115dc75c33a7fe7df2 100644 (file)
@@ -124,7 +124,7 @@ PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
 #else  /* ! WITH_PYMALLOC */
 #define PyObject_MALLOC                PyMem_MALLOC
 #define PyObject_REALLOC       PyMem_REALLOC
-/* This is an odd one!  For backward compatability with old extensions, the
+/* This is an odd one!  For backward compatibility with old extensions, the
    PyMem "release memory" functions have to invoke the object allocator's
    free() function.  When pymalloc isn't enabled, that leaves us using
    the platform free(). */
index a409c60893bbc96143b8a426bd80f2f34f6b7fd3..985871bee7c292c6dc773da0faf9730b7bc69554 100644 (file)
@@ -378,7 +378,7 @@ IDLEfork ChangeLog
 
 2001-07-12 16:54  elguavas
 
-       * ReplaceDialog.py: py-cvs merge, python 1.5.2 compatability
+       * ReplaceDialog.py: py-cvs merge, python 1.5.2 compatibility
 
 2001-07-12 16:46  elguavas
 
index c60b39c7cb287d47e9c5c5573a463092c3b27c2f..65b59ad0ca1917c8e69499ff14470429bc83f393 100644 (file)
@@ -430,7 +430,7 @@ def IsObjectSpecifier(x):
     return isinstance(x, ObjectSpecifier)
 
 
-# Backwards compatability, sigh...
+# Backwards compatibility, sigh...
 class Property(ObjectSpecifier):
 
     def __init__(self, which, fr = None, want='prop'):
index 06bc92fe5dfc72d10ee7e70e853050f7e95a70c4..f7ce468263f2e428ef03446393ffbaec72d264ae 100644 (file)
@@ -13,7 +13,7 @@ import time
 try:
     openrf = MacOS.openrf
 except AttributeError:
-    # Backward compatability
+    # Backward compatibility
     openrf = open
 
 Error = 'macostools.Error'
index fc7500bcc079161af6a791dd3118a1fe4410ea04..f726589a516f477a50079f553a0a7690713816ec 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -906,7 +906,7 @@ Library
 - The decimal package's Context.copy() method now returns deep copies.
 
 - Deprecated sys.exitfunc in favor of the atexit module.  The sys.exitfunc
-  attribute will be kept around for backwards compatability and atexit
+  attribute will be kept around for backwards compatibility and atexit
   will just become the one preferred way to do it.
 
 - patch #675551: Add get_history_item and replace_history_item functions
index 5ff94940ca30f0a04abab7d745f260669d591935..860a979f87d830fb798aa064d7503086dcd92a18 100644 (file)
@@ -36,7 +36,7 @@ ENCODER(cp932)
                        continue;
                }
                else if (c >= 0xf8f0 && c <= 0xf8f3) {
-                       /* Windows compatability */
+                       /* Windows compatibility */
                        REQUIRE_OUTBUF(1)
                        if (c == 0xf8f0)
                                OUT1(0xa0)