From: Jeremy Hylton Date: Thu, 18 Apr 2002 16:02:48 +0000 (+0000) Subject: Remove out-of-date explanation in doc strings, X-Git-Tag: v2.3c1~5893 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b05c8ee4acbcf251e748a2d2b1bad23007dbcbf;p=thirdparty%2FPython%2Fcpython.git Remove out-of-date explanation in doc strings, as reported by Eric C. Newton. --- diff --git a/Lib/compiler/visitor.py b/Lib/compiler/visitor.py index d7ae86412798..934159b0d377 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