]> granicus.if.org Git - python/commitdiff
Improve grammar in Glossary. (GH-10474)
authorWindson yang <wiwindson@outlook.com>
Mon, 12 Nov 2018 17:42:38 +0000 (01:42 +0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Nov 2018 17:42:38 +0000 (09:42 -0800)
a asynchronous generator -> an asynchronous generator

Doc/glossary.rst

index 02adc0c56ece643072b3bec39c3b10c094261c6c..be20f2be947b475bf28d785df3112d645c094973 100644 (file)
@@ -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::