diff options
-rw-r--r-- | testlib.py | 2 | ||||
-rw-r--r-- | tree.py | 2 | ||||
-rw-r--r-- | visitor.py | 2 |
3 files changed, 2 insertions, 4 deletions
@@ -22,8 +22,6 @@ If no non-option arguments are present, prefixes used are 'test', 'regrtest', 'smoketest' and 'unittest'. """ -from __future__ import nested_scopes - import sys import os, os.path as osp import re @@ -322,7 +322,7 @@ def post_order_list(node, filter_func=no_filter): return l def pre_order_list(node, filter_func=no_filter): - """ + """ create a list with tree nodes for which the <filter> function returned true in a pre order fashion """ @@ -61,7 +61,7 @@ class Visitor: n = iterator.next() while n: result = n.accept(self) - n = iterator.next() + n = iterator.next() return result def _get_iterator(self, node): |