bpo-31810: added missing keywords to docs. (#4140)
authorTom Floyer <tomfloyer@users.noreply.github.com>
Wed, 8 Nov 2017 17:31:26 +0000 (20:31 +0300)
committerYury Selivanov <yury@magic.io>
Wed, 8 Nov 2017 17:31:26 +0000 (12:31 -0500)
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.

Doc/reference/lexical_analysis.rst

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