Skip to content

Commit 49b2734

Browse files
scopserhiy-storchaka
authored andcommitted
Spelling fixes (#2902)
1 parent d9d55c9 commit 49b2734

29 files changed

+54
-54
lines changed

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ always available.
610610
:class:`~collections.namedtuple` of the form `(firstiter, finalizer)`,
611611
where *firstiter* and *finalizer* are expected to be either ``None`` or
612612
functions which take an :term:`asynchronous generator iterator` as an
613-
argument, and are used to schedule finalization of an asychronous
613+
argument, and are used to schedule finalization of an asynchronous
614614
generator by an event loop.
615615

616616
.. versionadded:: 3.6

Include/abstract.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
170170
format to a Python dictionary ("kwargs" dict).
171171
172172
The type of kwnames keys is not checked. The final function getting
173-
arguments is reponsible to check if all keys are strings, for example using
173+
arguments is responsible to check if all keys are strings, for example using
174174
PyArg_ParseTupleAndKeywords() or PyArg_ValidateKeywordArguments().
175175
176176
Duplicate keys are merged using the last value. If duplicate keys must raise

Include/unicodeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_Encode(
12271227
/* Encodes a Unicode object and returns the result as Python
12281228
object.
12291229
1230-
This API is DEPRECATED. It is superceeded by PyUnicode_AsEncodedString()
1230+
This API is DEPRECATED. It is superseded by PyUnicode_AsEncodedString()
12311231
since all standard encodings (except rot13) encode str to bytes.
12321232
Use PyCodec_Encode() for encoding with rot13 and non-standard codecs
12331233
that encode form str to non-bytes. */

Lib/enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def _decompose(flag, value):
840840
not_covered = value
841841
negative = value < 0
842842
# issue29167: wrap accesses to _value2member_map_ in a list to avoid race
843-
# conditions between iterating over it and having more psuedo-
843+
# conditions between iterating over it and having more pseudo-
844844
# members added to it
845845
if negative:
846846
# only check for named flags

Lib/idlelib/configdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ def create_page_extensions(self):
12161216
which are boolean, and can be toggled with a True/False button.
12171217
12181218
Methods:
1219-
load_extentions:
1219+
load_extensions:
12201220
extension_selected: Handle selection from list.
12211221
create_extension_frame: Hold widgets for one extension.
12221222
set_extension_value: Set in userCfg['extensions'].

Lib/test/decimaltestdata/ddDivide.decTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ dddiv1056 divide 1e-277 -1e+311 -> -0E-398 Underflow Subnormal Inexact Rounded
579579
dddiv1057 divide -1e-277 1e+311 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
580580
dddiv1058 divide -1e-277 -1e+311 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
581581

582-
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
582+
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
583583
dddiv1060 divide 1e-291 1e+101 -> 1E-392 Subnormal
584584
dddiv1061 divide 1e-291 1e+102 -> 1E-393 Subnormal
585585
dddiv1062 divide 1e-291 1e+103 -> 1E-394 Subnormal

Lib/test/decimaltestdata/ddDivideInt.decTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ dddvi1056 divideint 1e-277 -1e+311 -> -0
248248
dddvi1057 divideint -1e-277 1e+311 -> -0
249249
dddvi1058 divideint -1e-277 -1e+311 -> 0
250250

251-
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
251+
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
252252
dddvi1060 divideint 1e-291 1e+101 -> 0
253253
dddvi1061 divideint 1e-291 1e+102 -> 0
254254
dddvi1062 divideint 1e-291 1e+103 -> 0

Lib/test/decimaltestdata/ddFMA.decTest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extended: 1
2626
clamp: 1
2727
rounding: half_even
2828

29-
-- These tests comprese three parts:
29+
-- These tests comprise three parts:
3030
-- 1. Sanity checks and other three-operand tests (especially those
3131
-- where the fused operation makes a difference)
3232
-- 2. Multiply tests (third operand is neutral zero [0E+emax])
@@ -458,7 +458,7 @@ ddfma2756 fma 1e-277 -1e-311 0e+384 -> -0E-398 Underflow Subnormal Inexact
458458
ddfma2757 fma -1e-277 1e-311 0e+384 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
459459
ddfma2758 fma -1e-277 -1e-311 0e+384 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
460460

461-
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
461+
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
462462
ddfma2760 fma 1e-291 1e-101 0e+384 -> 1E-392 Subnormal
463463
ddfma2761 fma 1e-291 1e-102 0e+384 -> 1E-393 Subnormal
464464
ddfma2762 fma 1e-291 1e-103 0e+384 -> 1E-394 Subnormal

Lib/test/decimaltestdata/ddMultiply.decTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ ddmul756 multiply 1e-277 -1e-311 -> -0E-398 Underflow Subnormal Inexact Rounded
347347
ddmul757 multiply -1e-277 1e-311 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
348348
ddmul758 multiply -1e-277 -1e-311 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
349349

350-
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
350+
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
351351
ddmul760 multiply 1e-291 1e-101 -> 1E-392 Subnormal
352352
ddmul761 multiply 1e-291 1e-102 -> 1E-393 Subnormal
353353
ddmul762 multiply 1e-291 1e-103 -> 1E-394 Subnormal

Lib/test/decimaltestdata/divide.decTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ divx959 divide 9E-999999999 -9.100 -> -9.8901099E-1000000000 Inexact Rounded Und
759759

760760
-- overflow and underflow (additional edge tests in multiply.decTest)
761761
-- 'subnormal' results now possible (all hard underflow or overflow in
762-
-- base arithemtic)
762+
-- base arithmetic)
763763
divx960 divide 1e-600000000 1e+400000001 -> 1E-1000000001 Subnormal
764764
divx961 divide 1e-600000000 1e+400000002 -> 1E-1000000002 Subnormal
765765
divx962 divide 1e-600000000 1e+400000003 -> 1E-1000000003 Subnormal

0 commit comments

Comments
 (0)