summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint/checkers/python3.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py
index 2682c58..3ddf495 100644
--- a/pylint/checkers/python3.py
+++ b/pylint/checkers/python3.py
@@ -360,6 +360,11 @@ class Python3Checker(checkers.BaseChecker):
'__cmp__',
])
+ def __init__(self, *args, **kwargs):
+ self._future_division = False
+ self._future_absolute_import = False
+ super(Python3Checker, self).__init__(*args, **kwargs)
+
def visit_module(self, node): # pylint: disable=unused-argument
"""Clear checker state after previous module."""
self._future_division = False