summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJakub Stasiak <jakub@stasiak.at>2017-10-05 07:10:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2017-10-05 07:10:09 (GMT)
commitaf810b35b494ef1d255d4bf340b92a9dad446995 (patch)
tree78df02ecf9d934a174aa2ad1202d583b29faeba7 /Misc
parenta8ed11742b4c2115597977ce04fa8e043d9e0792 (diff)
downloadcpython-af810b35b494ef1d255d4bf340b92a9dad446995.zip
cpython-af810b35b494ef1d255d4bf340b92a9dad446995.tar.gz
cpython-af810b35b494ef1d255d4bf340b92a9dad446995.tar.bz2
closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression (#3771)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-26-01-43-17.bpo-27494.37QnaT.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-26-01-43-17.bpo-27494.37QnaT.rst b/Misc/NEWS.d/next/Library/2017-09-26-01-43-17.bpo-27494.37QnaT.rst
new file mode 100644
index 0000000..5b5362a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-09-26-01-43-17.bpo-27494.37QnaT.rst
@@ -0,0 +1,2 @@
+Make 2to3 accept a trailing comma in generator expressions. For example, ``set(x
+for x in [],)`` is now allowed.