summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2018-11-12 17:42:38 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-12 17:42:38 (GMT)
commita9655b7f71b8976c369160ef362d0e706cfcd8c9 (patch)
tree387371e3ecf6afc63a4a827090b948a5379dcf99 /Doc/glossary.rst
parent7610f4fe93cf6909b5ffa28dcc46e55426243395 (diff)
downloadcpython-a9655b7f71b8976c369160ef362d0e706cfcd8c9.zip
cpython-a9655b7f71b8976c369160ef362d0e706cfcd8c9.tar.gz
cpython-a9655b7f71b8976c369160ef362d0e706cfcd8c9.tar.bz2
Improve grammar in Glossary. (GH-10474)
a asynchronous generator -> an asynchronous generator
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 02adc0c..be20f2b 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -99,7 +99,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.
@@ -393,7 +393,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::