[Python-checkins] bpo-31810: added missing keywords to docs. (#4140)

Yury Selivanov webhook-mailer at python.org
Wed Nov 8 12:31:34 EST 2017


https://github.com/python/cpython/commit/bf9d317626eebcf79bd0756b4dd43df82d5cc186
commit: bf9d317626eebcf79bd0756b4dd43df82d5cc186
branch: master
author: Tom Floyer <tomfloyer at users.noreply.github.com>
committer: Yury Selivanov <yury at magic.io>
date: 2017-11-08T12:31:26-05:00
summary:

bpo-31810: added missing keywords to docs. (#4140)

async and await keywords has been merged into upstream, but they are
all missing in the lexical analysis docs. This change adds them to the
appropriate keywords section in documentation.

files:
M Doc/reference/lexical_analysis.rst

diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index caa59e503d5..ee3fbc13e2b 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -340,13 +340,13 @@ exactly as written here:
 
 .. sourcecode:: text
 
-   False      class      finally    is         return
-   None       continue   for        lambda     try
-   True       def        from       nonlocal   while
-   and        del        global     not        with
-   as         elif       if         or         yield
-   assert     else       import     pass
-   break      except     in         raise
+   False      await      else       import     pass
+   None       break      except     in         raise
+   True       class      finally    is         return
+   and        continue   for        lambda     try
+   as         def        from       nonlocal   while
+   assert     del        global     not        with
+   async      elif       if         or         yield
 
 .. _id-classes:
 



More information about the Python-checkins mailing list