diff options
author | Guido van Rossum <guido@dropbox.com> | 2016-09-09 16:59:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2016-09-09 16:59:34 (GMT) |
commit | 52a7e375554914079d38b60e3417b5bea5ed5010 (patch) | |
tree | 77f31e17cfddc514ecd743f65868d4103d1dcc05 /Doc | |
parent | 6cff8744a0ae58c88728df8bbca4580ffa6c6a86 (diff) | |
download | cpython-52a7e375554914079d38b60e3417b5bea5ed5010.zip cpython-52a7e375554914079d38b60e3417b5bea5ed5010.tar.gz cpython-52a7e375554914079d38b60e3417b5bea5ed5010.tar.bz2 |
Add a few big-ticket items to What's new in 3.6.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 8168b59..34ebadd 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -64,8 +64,20 @@ Summary -- Release highlights New syntax features: +* A ``global`` or ``nonlocal`` statement must now textually appear + before the first use of the affected name in the same scope. + Previously this was a SyntaxWarning. + * PEP 498: :ref:`Formatted string literals <whatsnew-fstrings>` +* PEP 515: Underscores in Numeric Literals + +* PEP 526: Syntax for Variable Annotations + +* PEP 525: Asynchronous Generators + +* PEP 530: Asynchronous Comprehensions + Standard library improvements: Security improvements: |