Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f28db60

Browse files
authored
[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)
(cherry picked from commit 132ac38)
1 parent 0a1b656 commit f28db60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/expressions.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Since Python 3.6, in an :keyword:`async def` function, an :keyword:`async for`
190190
clause may be used to iterate over a :term:`asynchronous iterator`.
191191
A comprehension in an :keyword:`async def` function may consist of either a
192192
:keyword:`for` or :keyword:`async for` clause following the leading
193-
expression, may contan additonal :keyword:`for` or :keyword:`async for`
193+
expression, may contain additional :keyword:`for` or :keyword:`async for`
194194
clauses, and may also use :keyword:`await` expressions.
195195
If a comprehension contains either :keyword:`async for` clauses
196196
or :keyword:`await` expressions it is called an
@@ -1317,7 +1317,7 @@ built-in types.
13171317
* Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) can
13181318
be compared only within each of their types, with the restriction that ranges
13191319
do not support order comparison. Equality comparison across these types
1320-
results in unequality, and ordering comparison across these types raises
1320+
results in inequality, and ordering comparison across these types raises
13211321
:exc:`TypeError`.
13221322

13231323
Sequences compare lexicographically using comparison of corresponding

0 commit comments

Comments
 (0)