|
|
@ -213,7 +213,7 @@ except ImportError:
|
|
|
|
elif isinstance(node, ast.List):
|
|
|
|
elif isinstance(node, ast.List):
|
|
|
|
return list(map(_convert, node.nodes))
|
|
|
|
return list(map(_convert, node.nodes))
|
|
|
|
elif isinstance(node, ast.Dict):
|
|
|
|
elif isinstance(node, ast.Dict):
|
|
|
|
return dict((_convert(k), _convert(v)) for k, v in node.items)
|
|
|
|
return dict((_convert(k), _convert(v)) for k, v in node.items())
|
|
|
|
elif isinstance(node, ast.Name):
|
|
|
|
elif isinstance(node, ast.Name):
|
|
|
|
if node.name in _safe_names:
|
|
|
|
if node.name in _safe_names:
|
|
|
|
return _safe_names[node.name]
|
|
|
|
return _safe_names[node.name]
|
|
|
|