Show More
@@ -964,6 +964,4 b' def parselist(value):' | |||
|
964 | 964 | def evalpythonliteral(s): |
|
965 | 965 | """Evaluate a string containing a Python literal expression""" |
|
966 | 966 | # We could backport our tokenizer hack to rewrite '' to u'' if we want |
|
967 | if pycompat.ispy3: | |
|
968 | 967 |
|
|
969 | return ast.literal_eval(s) |
General Comments 0
You need to be logged in to leave comments.
Login now