8000 Improve grammar in Glossary. (GH-10474) · python/cpython@9a7ba8c · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9a7ba8c

Browse files
Improve grammar in Glossary. (GH-10474)
a asynchronous generator -> an asynchronous generator (cherry picked from commit a9655b7) Co-authored-by: Windson yang <wiwindson@outlook.com>
1 parent 35304b6 commit 9a7ba8c

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
Diff line number
Original file line numberDiff line change
@@ -95,7 +95,7 @@ Glossary
9595
that it contains :keyword:`yield` expressions for producing a series of
9696
values usable in an :keyword:`async for` loop.
9797

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

@@ -389,7 +389,7 @@ Glossary
389389
An :term:`annotation` of a function parameter or return value.
390390

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

0 commit comments

Comments
 (0)
0