diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-12-17 23:26:41 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-12-17 23:26:41 (GMT) |
commit | 3dc74bf703d433a4060f6911ecfbc98be7ba267f (patch) | |
tree | 1cadd0260d3bfa758aa4e108be53f60a877edc30 | |
parent | b84ef715b8afecbeb24af6f2435531417e563f4e (diff) | |
download | cpython-3dc74bf703d433a4060f6911ecfbc98be7ba267f.zip cpython-3dc74bf703d433a4060f6911ecfbc98be7ba267f.tar.gz cpython-3dc74bf703d433a4060f6911ecfbc98be7ba267f.tar.bz2 |
docs: Document ASYNC/AWAIT tokens (issue #25580)
Initial patch by SilentGhost
-rw-r--r-- | Doc/library/token.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/token.rst b/Doc/library/token.rst index 88fb38b..c6bfa35 100644 --- a/Doc/library/token.rst +++ b/Doc/library/token.rst @@ -97,10 +97,16 @@ The token constants are: RARROW ELLIPSIS OP + AWAIT + ASYNC ERRORTOKEN N_TOKENS NT_OFFSET + .. versionchanged:: 3.5 + Added :data:`AWAIT` and :data:`ASYNC` tokens. Starting with + Python 3.7, "async" and "await" will be tokenized as :data:`NAME` + tokens, and :data:`AWAIT` and :data:`ASYNC` will be removed. .. seealso:: |