Skip to content

Commit 08c02db

Browse files
committed
[ 1243081 ] repair typos
1 parent c9878e1 commit 08c02db

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

Doc/lib/libfuncs.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ \section{Non-essential Built-in Functions \label{non-essential-built-in-funcs}}
11731173

11741174
There are several built-in functions that are no longer essential to learn,
11751175
know or use in modern Python programming. They have been kept here to
1176-
maintain backwards compatability with programs written for older versions
1176+
maintain backwards compatibility with programs written for older versions
11771177
of Python.
11781178

11791179
Python programmers, trainers, students and bookwriters should feel free to

Doc/lib/libsets.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ \subsection{Set Objects \label{set-objects}}
169169

170170
Also note, the module also includes a \method{union_update()} method
171171
which is an alias for \method{update()}. The method is included for
172-
backwards compatability. Programmers should prefer the
173-
\method{update()} method because it the one supported by the builtin
172+
backwards compatibility. Programmers should prefer the
173+
\method{update()} method because it is the one supported by the builtin
174174
\class{set()} and \class{frozenset()} types.
175175

176176
\subsection{Example \label{set-example}}
@@ -254,7 +254,7 @@ \subsection{Comparison to the built-in \class{set} types
254254
\item The built-in versions have more space efficient pickles.
255255
\item The built-in versions do not have a \method{union_update()} method.
256256
Instead, use the \method{update()} method which is equivalent.
257-
\item The built-in versions do not have a \method{_repr(sort=True)} method.
257+
\item The built-in versions do not have a \method{_repr(sorted=True)} method.
258258
Instead, use the built-in \function{repr()} and \function{sorted()}
259259
functions: \code{repr(sorted(s))}.
260260
\item The built-in version does not have a protocol for automatic conversion

Doc/whatsnew/whatsnew25.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ \section{New, Improved, and Deprecated Modules}
216216
\function{os.lseek()} function.
217217

218218
\item The \class{TarFile} class in the \module{tarfile} module now has
219-
a \method{extractall()} method that extracts all members from the
219+
an \method{extractall()} method that extracts all members from the
220220
archive into the current working directory. It's also possible to set
221221
a different directory as the extraction target, and to unpack only a
222222
subset of the archive's members. (Contributed by Lars Gust\"abel.)

Include/objimpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
124124
#else /* ! WITH_PYMALLOC */
125125
#define PyObject_MALLOC PyMem_MALLOC
126126
#define PyObject_REALLOC PyMem_REALLOC
127-
/* This is an odd one! For backward compatability with old extensions, the
127+
/* This is an odd one! For backward compatibility with old extensions, the
128128
PyMem "release memory" functions have to invoke the object allocator's
129129
free() function. When pymalloc isn't enabled, that leaves us using
130130
the platform free(). */

Lib/idlelib/ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ IDLEfork ChangeLog
378378

379379
2001-07-12 16:54 elguavas
380380

381-
* ReplaceDialog.py: py-cvs merge, python 1.5.2 compatability
381+
* ReplaceDialog.py: py-cvs merge, python 1.5.2 compatibility
382382

383383
2001-07-12 16:46 elguavas
384384

Lib/plat-mac/aetypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def IsObjectSpecifier(x):
430430
return isinstance(x, ObjectSpecifier)
431431

432432

433-
# Backwards compatability, sigh...
433+
# Backwards compatibility, sigh...
434434
class Property(ObjectSpecifier):
435435

436436
def __init__(self, which, fr = None, want='prop'):

Lib/plat-mac/macostools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
try:
1414
openrf = MacOS.openrf
1515
except AttributeError:
16-
# Backward compatability
16+
# Backward compatibility
1717
openrf = open
1818

1919
Error = 'macostools.Error'

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ Library
906906
- The decimal package's Context.copy() method now returns deep copies.
907907

908908
- Deprecated sys.exitfunc in favor of the atexit module. The sys.exitfunc
909-
attribute will be kept around for backwards compatability and atexit
909+
attribute will be kept around for backwards compatibility and atexit
910910
will just become the one preferred way to do it.
911911

912912
- patch #675551: Add get_history_item and replace_history_item functions

Modules/cjkcodecs/_codecs_jp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ENCODER(cp932)
3636
continue;
3737
}
3838
else if (c >= 0xf8f0 && c <= 0xf8f3) {
39-
/* Windows compatability */
39+
/* Windows compatibility */
4040
REQUIRE_OUTBUF(1)
4141
if (c == 0xf8f0)
4242
OUT1(0xa0)

0 commit comments

Comments
 (0)