most tests pass for python 3

This commit is contained in:
David Halter
2012-05-20 00:21:21 +02:00
parent c95510cf50
commit 8d523db9d9
4 changed files with 13 additions and 5 deletions

View File

@@ -1276,7 +1276,6 @@ class PyFuzzyParser(object):
# check again for unindented stuff. this is true for syntax
# errors. only check for names, because thats relevant here. If
# some docstrings are not indented, I don't care.
print(self.scope.indent, self.scope)
while indent <= self.scope.indent \
and (token_type == tokenize.NAME or tok in ['(', '['])\
and self.scope != self.top: