summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-12 09:49:47 -0800
committerGitHub <noreply@github.com>2018-11-12 09:49:47 -0800
commit9a7ba8c68bd40901917d3f53261cbb7561b5bdf8 (patch)
tree215b579929854e847513b95e1922c0cf4312264d
parent35304b6549863037ef435414fed5e540db1ec3c8 (diff)
downloadcpython-git-9a7ba8c68bd40901917d3f53261cbb7561b5bdf8.tar.gz
Improve grammar in Glossary. (GH-10474)
a asynchronous generator -> an asynchronous generator (cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9) Co-authored-by: Windson yang <wiwindson@outlook.com>
-rw-r--r--Doc/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index cf2ca671f2..3981750e60 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -95,7 +95,7 @@ Glossary
that it contains :keyword:`yield` expressions for producing a series of
values usable in an :keyword:`async for` loop.
- Usually refers to a asynchronous generator function, but may refer to an
+ Usually refers to an asynchronous generator function, but may refer to an
*asynchronous generator iterator* in some contexts. In cases where the
intended meaning isn't clear, using the full terms avoids ambiguity.
@@ -389,7 +389,7 @@ Glossary
An :term:`annotation` of a function parameter or return value.
Function annotations are usually used for
- :term:`type hints <type hint>`: for example this function is expected to take two
+ :term:`type hints <type hint>`: for example, this function is expected to take two
:class:`int` arguments and is also expected to have an :class:`int`
return value::