File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,9 @@ def simple_eval(node_or_string, namespace=None):
3030 Safely evaluate an expression node or a string containing a Python
3131 expression. The string or node provided may only consist of:
3232 * the following Python literal structures: strings, numbers, tuples,
33- lists, dicts, booleans, and None.
33+ lists, and dicts
3434 * variable names causing lookups in the passed in namespace or builtins
3535 * getitem calls using the [] syntax on objects of the types above
36- * getitem calls on subclasses of the above types if they do not override
37- the __getitem__ method and do not override __getattr__ or __getattribute__
38- (or maybe we'll try to clean those up?)
3936
4037 The optional namespace dict-like ought not to cause side effects on lookup
4138 """
You can’t perform that action at this time.
0 commit comments