summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Floyer <tomfloyer@users.noreply.github.com>2017-11-08 17:31:26 (GMT)
committerYury Selivanov <yury@magic.io>2017-11-08 17:31:26 (GMT)
commitbf9d317626eebcf79bd0756b4dd43df82d5cc186 (patch)
treeb77ea818188eab0b537ec72230865622ef5a7fbf
parent2138163621196a186975796afb2b0a6aa335231d (diff)
downloadcpython-bf9d317626eebcf79bd0756b4dd43df82d5cc186.zip
cpython-bf9d317626eebcf79bd0756b4dd43df82d5cc186.tar.gz
cpython-bf9d317626eebcf79bd0756b4dd43df82d5cc186.tar.bz2
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.
-rw-r--r--Doc/reference/lexical_analysis.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index caa59e5..ee3fbc1 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: