Skip to content

Commit 132ac38

Browse files
DimitrisJimMariatta
authored andcommitted
Fix small typos in expressions.rst (pythonGH-276)
1 parent fba79dc commit 132ac38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/expressions.rst

Lines changed: 2 additions & 2 deletions
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)