From 9e1cd688b5dad9c337092949b5adb2e65fb6a7d3 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 14 Feb 2000 23:57:56 +0000 Subject: edit a doc string (real intent is to test out rsync install) --- Lib/compiler/pycodegen.py | 7 ++++++- Tools/compiler/compiler/pycodegen.py | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py index 51ab9bd..4f8d824 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 51ab9bd..4f8d824 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): -- cgit v0.12