summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/visitor.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-04-18 16:02:48 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-04-18 16:02:48 (GMT)
commit3b05c8ee4acbcf251e748a2d2b1bad23007dbcbf (patch)
tree4bef87abfdfaa799bd17800c7b8410474d1fa66c /Lib/compiler/visitor.py
parenta4548576332c13b1ec5c8100b43743b20d06f9fb (diff)
downloadcpython-3b05c8ee4acbcf251e748a2d2b1bad23007dbcbf.zip
cpython-3b05c8ee4acbcf251e748a2d2b1bad23007dbcbf.tar.gz
cpython-3b05c8ee4acbcf251e748a2d2b1bad23007dbcbf.tar.bz2
Remove out-of-date explanation in doc strings,
as reported by Eric C. Newton.
Diffstat (limited to 'Lib/compiler/visitor.py')
-rw-r--r--Lib/compiler/visitor.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/compiler/visitor.py b/Lib/compiler/visitor.py
index d7ae864..934159b 100644
--- a/Lib/compiler/visitor.py
+++ b/Lib/compiler/visitor.py
@@ -26,9 +26,7 @@ class ASTVisitor:
the order during a postorder walk, because it is called _after_
the walk has occurred.) The ASTVisitor modifies the visitor
argument by adding a visit method to the visitor; this method can
- be used to visit a particular child node. If the visitor method
- returns a true value, the ASTVisitor will not traverse the child
- nodes.
+ be used to visit a particular child node.
XXX The interface for controlling the preorder walk needs to be
re-considered. The current interface is convenient for visitors