[Python-checkins] cpython: docs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7
yury.selivanov
python-checkins at python.org
Thu May 28 23:10:51 CEST 2015
https://hg.python.org/cpython/rev/abe0c5a78d68
changeset: 96346:abe0c5a78d68
user: Yury Selivanov <yselivanov at sprymix.com>
date: Thu May 28 17:10:29 2015 -0400
summary:
docs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7
files:
Doc/whatsnew/3.6.rst | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -113,6 +113,14 @@
Deprecated
==========
+New Keywords
+------------
+
+``async`` and ``await`` are not recommended to be used as variable, class or
+function names. Introduced by :pep:`492` in Python 3.5, they will become
+proper keywords in Python 3.7.
+
+
Deprecated Python modules, functions and methods
------------------------------------------------
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list