Skip to content

Commit a9655b7

Browse files
Windsooonmiss-islington
authored andcommitted
Improve grammar in Glossary. (GH-10474)
a asynchronous generator -> an asynchronous generator
1 parent 7610f4f commit a9655b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/glossary.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Glossary
9999
that it contains :keyword:`yield` expressions for producing a series of
100100
values usable in an :keyword:`async for` loop.
101101

102-
Usually refers to a asynchronous generator function, but may refer to an
102+
Usually refers to an asynchronous generator function, but may refer to an
103103
*asynchronous generator iterator* in some contexts. In cases where the
104104
intended meaning isn't clear, using the full terms avoids ambiguity.
105105

@@ -393,7 +393,7 @@ Glossary
393393
An :term:`annotation` of a function parameter or return value.
394394

395395
Function annotations are usually used for
396-
:term:`type hints <type hint>`: for example this function is expected to take two
396+
:term:`type hints <type hint>`: for example, this function is expected to take two
397397
:class:`int` arguments and is also expected to have an :class:`int`
398398
return value::
399399

0 commit comments

Comments
 (0)