Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52a7e37

Browse files
author
Guido van Rossum
committed
Add a few big-ticket items to What's new in 3.6.
1 parent 6cff874 commit 52a7e37

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Doc/whatsnew/3.6.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,20 @@ Summary -- Release highlights
6464
6565
New syntax features:
6666

67+
* A ``global`` or ``nonlocal`` statement must now textually appear
68+
before the first use of the affected name in the same scope.
69+
Previously this was a SyntaxWarning.
70+
6771
* PEP 498: :ref:`Formatted string literals <whatsnew-fstrings>`
6872

73+
* PEP 515: Underscores in Numeric Literals
74+
75+
* PEP 526: Syntax for Variable Annotations
76+
77+
* PEP 525: Asynchronous Generators
78+
79+
* PEP 530: Asynchronous Comprehensions
80+
6981
Standard library improvements:
7082

7183
Security improvements:

0 commit comments

Comments
 (0)