summaryrefslogtreecommitdiffstats
path: root/Doc/library/ast.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-01-03 05:21:18 (GMT)
committerGitHub <noreply@github.com>2020-01-03 05:21:18 (GMT)
commit4fcf5c12a37a8d3d8d6303c44c223dbc8d568cfd (patch)
tree5260051ef84fd7137a5ff12d90d4906cca9f5a32 /Doc/library/ast.rst
parent32f1443aa98db769d87db497b45bd0dcb732445b (diff)
downloadcpython-4fcf5c12a37a8d3d8d6303c44c223dbc8d568cfd.zip
cpython-4fcf5c12a37a8d3d8d6303c44c223dbc8d568cfd.tar.gz
cpython-4fcf5c12a37a8d3d8d6303c44c223dbc8d568cfd.tar.bz2
bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r--Doc/library/ast.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 190d928..c380a81 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -194,6 +194,9 @@ and classes for traversing abstract syntax trees:
.. versionchanged:: 3.2
Now allows bytes and set literals.
+ .. versionchanged:: 3.9
+ Now supports creating empty sets with ``'set()'``.
+
.. function:: get_docstring(node, clean=True)