From: Georg Brandl Date: Fri, 22 Jul 2005 18:40:02 +0000 (+0000) Subject: [ 1243081 ] repair typos X-Git-Tag: v2.4.2c1~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95d632d47203ba0d11278d689dfa4787b6b79ee0;p=thirdparty%2FPython%2Fcpython.git [ 1243081 ] repair typos --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index b62d1d1554e6..f7e537350130 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -1135,7 +1135,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 e90e527d1ffa..4bbd23976841 100644 --- a/Doc/lib/libsets.tex +++ b/Doc/lib/libsets.tex @@ -169,7 +169,7 @@ 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 +backwards compatibility. Programmers should prefer the \method{update()} method because it the one supported by the builtin \class{set()} and \class{frozenset()} types. diff --git a/Include/objimpl.h b/Include/objimpl.h index 5707e500eef1..40b730c41406 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -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(). */ diff --git a/Lib/idlelib/ChangeLog b/Lib/idlelib/ChangeLog index a409c60893bb..985871bee7c2 100644 --- a/Lib/idlelib/ChangeLog +++ b/Lib/idlelib/ChangeLog @@ -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 diff --git a/Lib/plat-mac/aetypes.py b/Lib/plat-mac/aetypes.py index c60b39c7cb28..65b59ad0ca19 100644 --- a/Lib/plat-mac/aetypes.py +++ b/Lib/plat-mac/aetypes.py @@ -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'): diff --git a/Lib/plat-mac/macostools.py b/Lib/plat-mac/macostools.py index 06bc92fe5dfc..f7ce468263f2 100644 --- a/Lib/plat-mac/macostools.py +++ b/Lib/plat-mac/macostools.py @@ -13,7 +13,7 @@ import time try: openrf = MacOS.openrf except AttributeError: - # Backward compatability + # Backward compatibility openrf = open Error = 'macostools.Error' diff --git a/Misc/NEWS b/Misc/NEWS index 002b49eea6a3..8fd301597c5c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -759,7 +759,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 diff --git a/Modules/cjkcodecs/_codecs_jp.c b/Modules/cjkcodecs/_codecs_jp.c index 5ff94940ca30..860a979f87d8 100644 --- a/Modules/cjkcodecs/_codecs_jp.c +++ b/Modules/cjkcodecs/_codecs_jp.c @@ -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)