]> 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:49:47 +0000 (09:49 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Nov 2018 17:49:47 +0000 (09:49 -0800)
a asynchronous generator -> an asynchronous generator
(cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9)

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

index cf2ca671f26dd7dc9ce70fd5bd6e3c8ee09e5e26..3981750e6082edfd42abc93f40dcb1c9eca214ac 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::