]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve grammar in Glossary. (GH-10474)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Nov 2018 17:48:11 +0000 (09:48 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Nov 2018 17:48:11 +0000 (09:48 -0800)
a asynchronous generator -> an asynchronous generator
(cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9)

Co-authored-by: Windson yang <wiwindson@outlook.com>
Doc/glossary.rst

index b8e773741ce7e21fb97cd6927bcd220fca2803d4..ace7e6405e024463b53ce82c7dc26d940ed1f6f0 100644 (file)
@@ -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::