diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py index 51ab9bdad7c..4f8d8247ce7 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 51ab9bdad7c..4f8d8247ce7 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):