From bf9d317626eebcf79bd0756b4dd43df82d5cc186 Mon Sep 17 00:00:00 2001 From: Tom Floyer Date: Wed, 8 Nov 2017 20:31:26 +0300 Subject: [PATCH] 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. --- Doc/reference/lexical_analysis.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: