[Python-checkins] Improve grammar in Glossary. (GH-10474)
Miss Islington (bot)
webhook-mailer at python.org
Mon Nov 12 12:48:14 EST 2018
https://github.com/python/cpython/commit/f3b0b91674f1790cc989d774a91fc7000918cce1
commit: f3b0b91674f1790cc989d774a91fc7000918cce1
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年11月12日T09:48:11-08:00
summary:
Improve grammar in Glossary. (GH-10474)
a asynchronous generator -> an asynchronous generator
(cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9)
Co-authored-by: Windson yang <wiwindson at outlook.com>
files:
M Doc/glossary.rst
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index b8e773741ce7..ace7e6405e02 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::
More information about the Python-checkins
mailing list