Allow set literals in literal_eval().
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 9bf374f..43c9add 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -119,12 +119,15 @@
Safely evaluate an expression node or a string containing a Python
expression. The string or node provided may only consist of the following
- Python literal structures: strings, numbers, tuples, lists, dicts, booleans,
- and ``None``.
+ Python literal structures: strings, numbers, tuples, lists, dicts, sets,
+ booleans, and ``None``.
This can be used for safely evaluating strings containing Python expressions
from untrusted sources without the need to parse the values oneself.
+ .. versionchanged:: 3.2
+ Now allows set literals.
+
.. function:: get_docstring(node, clean=True)