From: Jeremy Hylton Date: Mon, 14 Feb 2000 23:57:56 +0000 (+0000) Subject: edit a doc string X-Git-Tag: v1.6a1~440 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e1cd688b5dad9c337092949b5adb2e65fb6a7d3;p=thirdparty%2FPython%2Fcpython.git edit a doc string (real intent is to test out rsync install) --- diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py index 51ab9bdad7c6..4f8d8247ce70 100644 --- a/Lib/compiler/pycodegen.py +++ b/Lib/compiler/pycodegen.py @@ -121,7 +121,12 @@ class ASTVisitor: return meth(node) class ExampleASTVisitor(ASTVisitor): - """Prints examples of the nodes that aren't visited""" + """Prints examples of the nodes that aren't visited + + This visitor-driver is only useful for development, when it's + helpful to develop a visitor incremently, and get feedback on what + you still have to do. + """ examples = {} def dispatch(self, node): diff --git a/Tools/compiler/compiler/pycodegen.py b/Tools/compiler/compiler/pycodegen.py index 51ab9bdad7c6..4f8d8247ce70 100644 --- a/Tools/compiler/compiler/pycodegen.py +++ b/Tools/compiler/compiler/pycodegen.py @@ -121,7 +121,12 @@ class ASTVisitor: return meth(node) class ExampleASTVisitor(ASTVisitor): - """Prints examples of the nodes that aren't visited""" + """Prints examples of the nodes that aren't visited + + This visitor-driver is only useful for development, when it's + helpful to develop a visitor incremently, and get feedback on what + you still have to do. + """ examples = {} def dispatch(self, node):