[Python-checkins] Improve grammar in Glossary. (GH-10474)

Miss Islington (bot) webhook-mailer at python.org
Mon Nov 12 12:42:42 EST 2018


https://github.com/python/cpython/commit/a9655b7f71b8976c369160ef362d0e706cfcd8c9
commit: a9655b7f71b8976c369160ef362d0e706cfcd8c9
branch: master
author: Windson yang <wiwindson at outlook.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-11-12T09:42:38-08:00
summary:

Improve grammar in Glossary. (GH-10474)



a asynchronous generator -> an asynchronous generator

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 02adc0c56ece..be20f2be947b 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::
 



More information about the Python-checkins mailing list