Remove literal_eval compatibility
This commit is contained in:
1 parent
b5e0c1e9c6
commit
a9d32fbc99
2 files changed
+2
-8
No files matched your search
@@ -204,13 +204,6 @@ except ImportError:
|
||||
import __builtin__ as builtins # noqa: F401
|
||||
|
||||
|
||||
import ast # noqa: F401
|
||||
|
||||
|
||||
def literal_eval(string):
|
||||
return ast.literal_eval(string)
|
||||
|
||||
|
||||
def utf8_repr(func):
|
||||
"""
|
||||
``__repr__`` methods in Python 2 don't allow unicode objects to be
|
||||
|
||||
Reference in new issue
Block a user