summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/__init__.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-03-29 05:50:15 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-03-29 05:50:15 (GMT)
commit7adebb06bb6055345cc584377159d8052ea39e1b (patch)
treed0ca5f58b87d964927a1db7f4fe8a602f8405d23 /src/engine/SCons/Node/__init__.py
parent59ed0a109bf5add2efcef459080837b11066c6fb (diff)
downloadSCons-7adebb06bb6055345cc584377159d8052ea39e1b.zip
SCons-7adebb06bb6055345cc584377159d8052ea39e1b.tar.gz
SCons-7adebb06bb6055345cc584377159d8052ea39e1b.tar.bz2
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Accumulated small fixers: renames, next, zip, and intern. Files that were modified or added while developing on branches/pending didn't have the fixers previously applied. This patchset picks up those.
Diffstat (limited to 'src/engine/SCons/Node/__init__.py')
-rw-r--r--src/engine/SCons/Node/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index 455487e..d7846c5 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -1276,7 +1276,7 @@ class Walker:
This is depth-first, children are visited before the parent.
The Walker object can be initialized with any node, and
- returns the next node on the descent with each next() call.
+ returns the next node on the descent with each get_next() call.
'kids_func' is an optional function that will be called to
get the children of a node instead of calling 'children'.
'cycle_func' is an optional function that will be called
@@ -1296,7 +1296,7 @@ class Walker:
self.history = {} # used to efficiently detect and avoid cycles
self.history[node] = None
- def next(self):
+ def get_next(self):
"""Return the next node for this walk of the tree.
This function is intentionally iterative, not recursive,