summaryrefslogtreecommitdiffstats
path: root/Lib/compiler
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-02-14 23:57:56 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-02-14 23:57:56 (GMT)
commit9e1cd688b5dad9c337092949b5adb2e65fb6a7d3 (patch)
tree6a9a770311e70f652e64b6718d3462b513685269 /Lib/compiler
parent1991ddc3e134e89e6c15d60e180fc67ad4c1ca01 (diff)
downloadcpython-9e1cd688b5dad9c337092949b5adb2e65fb6a7d3.zip
cpython-9e1cd688b5dad9c337092949b5adb2e65fb6a7d3.tar.gz
cpython-9e1cd688b5dad9c337092949b5adb2e65fb6a7d3.tar.bz2
edit a doc string
(real intent is to test out rsync install)
Diffstat (limited to 'Lib/compiler')
-rw-r--r--Lib/compiler/pycodegen.py7
1 files changed, 6 insertions, 1 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):