Skip to content

Commit 15f44ab

Browse files
committed
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
1 parent 613debc commit 15f44ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+121
-121
lines changed

‎Doc/library/datetime.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ Note that the :class:`datetime` instances that differ only by the value of the
18421842
:attr:`~datetime.fold` attribute are considered equal in comparisons.
18431843

18441844
Applications that can't bear wall-time ambiguities should explicitly check the
1845-
value of the :attr:`~datetime.fold` atribute or avoid using hybrid
1845+
value of the :attr:`~datetime.fold` attribute or avoid using hybrid
18461846
:class:`tzinfo` subclasses; there are no ambiguities when using :class:`timezone`,
18471847
or any other fixed-offset :class:`tzinfo` subclass (such as a class representing
18481848
only EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)).

‎Doc/library/email.contentmanager.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,5 +433,5 @@ Currently the email package provides only one concrete content manager,
433433

434434
If *headers* is specified and is a list of strings of the form
435435
``headername: headervalue`` or a list of ``header`` objects
436-
(distinguised from strings by having a ``name`` attribute), add the
436+
(distinguished from strings by having a ``name`` attribute), add the
437437
headers to *msg*.

‎Doc/library/idle.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ Command line usage
531531
-c command run command in the shell window
532532
-d enable debugger and open shell window
533533
-e open editor window
534-
-h print help message with legal combinatios and exit
534+
-h print help message with legal combinations and exit
535535
-i open shell window
536536
-r file run file in shell window
537537
-s run $IDLESTARTUP or $PYTHONSTARTUP first, in shell window

‎Doc/library/smtpd.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SMTPServer Objects
4444
dictionary is a suitable value). If not specified the :mod:`asyncore`
4545
global socket map is used.
4646

47-
*enable_SMTPUTF8* determins whether the ``SMTPUTF8`` extension (as defined
47+
*enable_SMTPUTF8* determines whether the ``SMTPUTF8`` extension (as defined
4848
in :RFC:`6531`) should be enabled. The default is ``False``.
4949
When ``True``, ``SMTPUTF8`` is accepted as a parameter to the ``MAIL``
5050
command and when present is passed to :meth:`process_message` in the
@@ -162,7 +162,7 @@ SMTPChannel Objects
162162
accepted in a ``DATA`` command. A value of ``None`` or ``0`` means no
163163
limit.
164164

165-
*enable_SMTPUTF8* determins whether the ``SMTPUTF8`` extension (as defined
165+
*enable_SMTPUTF8* determines whether the ``SMTPUTF8`` extension (as defined
166166
in :RFC:`6531`) should be enabled. The default is ``False``.
167167
*decode_data* and *enable_SMTPUTF8* cannot be set to ``True`` at the same
168168
time.

‎Doc/whatsnew/3.3.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@ ssl
19541954
:attr:`~ssl.OP_NO_COMPRESSION` can be used to disable compression.
19551955
(Contributed by Antoine Pitrou in :issue:`13634`.)
19561956

1957-
* Support has been added for the Next Procotol Negotiation extension using
1957+
* Support has been added for the Next Protocol Negotiation extension using
19581958
the :meth:`ssl.SSLContext.set_npn_protocols` method.
19591959
(Contributed by Colin Marc in :issue:`14204`.)
19601960

‎Include/abstract.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
487487
/* old buffer API
488488
FIXME: usage of these should all be replaced in Python itself
489489
but for backwards compatibility we will implement them.
490-
Their usage without a corresponding "unlock" mechansim
490+
Their usage without a corresponding "unlock" mechanism
491491
may create issues (but they would already be there). */
492492

493493
PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,

‎Include/bytesobject.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGrouping(char *buffer,
131131
#define F_ZERO (1<<4)
132132

133133
#ifndef Py_LIMITED_API
134-
/* The _PyBytesWriter structure is big: it contains an embeded "stack buffer".
134+
/* The _PyBytesWriter structure is big: it contains an embedded "stack buffer".
135135
A _PyBytesWriter variable must be declared at the end of variables in a
136136
function to optimize the memory allocation on the stack. */
137137
typedef struct {

‎Include/pymath.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern double pow(double, double);
3737
#endif /* __STDC__ */
3838
#endif /* _MSC_VER */
3939

40-
/* High precision defintion of pi and e (Euler)
40+
/* High precision definition of pi and e (Euler)
4141
* The values are taken from libc6's math.h.
4242
*/
4343
#ifndef Py_MATH_PIl

‎Lib/asyncio/streams.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def read(self, n=-1):
590590
bytes. If the EOF was received and the internal buffer is empty, return
591591
an empty bytes object.
592592
593-
If n is zero, return empty bytes object immediatelly.
593+
If n is zero, return empty bytes object immediately.
594594
595595
If n is positive, this function try to read `n` bytes, and may return
596596
less or equal bytes than requested, but at least one byte. If EOF was

‎Lib/concurrent/futures/process.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# interpreter to exit when there are still idle processes in a
6464
# ProcessPoolExecutor's process pool (i.e. shutdown() was not called). However,
6565
# allowing workers to die with the interpreter has two undesirable properties:
66-
# - The workers would still be running during interpretor shutdown,
66+
# - The workers would still be running during interpreter shutdown,
6767
# meaning that they would fail in unpredictable ways.
6868
# - The workers could be killed while evaluating a work item, which could
6969
# be bad if the callable being evaluated has external side-effects e.g.

0 commit comments

Comments
 (0)