Skip to content
Prev Previous commit
Minor documentation fixes.
  • Loading branch information
serhiy-storchaka committed Nov 14, 2017
commit 74439e49394b7e89e9ae3aab561d0f3f6a5ade0c
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ Changes in Python behavior
Python 3.7 now correctly raises a :exc:`SyntaxError`, as a generator
expression always needs to be directly inside a set of parentheses
and cannot have a comma on either side.
(Contributed by Serhiy Storchaka in :issue:`XXXXX`.)
(Contributed by Serhiy Storchaka in :issue:`32012`.)


Changes in the Python API
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyntaxError is now raised when a generator expression without parenthesis is
passed as an argument but followed by a trailing comma. A generator expression
always needs to be directly inside a set of parentheses and cannot have a
comma on either side.
SyntaxError is now correctly raised when a generator expression without
parenthesis is passed as an argument, but followed by a trailing comma.
A generator expression always needs to be directly inside a set of parentheses
and cannot have a comma on either side.