summaryrefslogtreecommitdiff
path: root/Cython/Compiler/TreePath.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-06-17 15:33:54 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-06-17 15:33:54 +0200
commita96882e1d009a8463ec02c47cba35a85d66fab9a (patch)
treeb713a5766db9125e591b0ce1e20f53554b5845c2 /Cython/Compiler/TreePath.py
parent3b9f95ef995544490eef7d8687d56d20733af239 (diff)
downloadcython-a96882e1d009a8463ec02c47cba35a85d66fab9a.tar.gz
use explicit relative imports everywhere and enable absolute imports by default
Diffstat (limited to 'Cython/Compiler/TreePath.py')
-rw-r--r--Cython/Compiler/TreePath.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Compiler/TreePath.py b/Cython/Compiler/TreePath.py
index c1378a88e..c60444ca3 100644
--- a/Cython/Compiler/TreePath.py
+++ b/Cython/Compiler/TreePath.py
@@ -6,6 +6,8 @@ function selects a part of the expression, e.g. a child node, a
specific descendant or a node that holds an attribute.
"""
+from __future__ import absolute_import
+
import re
import operator