Commit 9e1cd688 authored by Jeremy Hylton's avatar Jeremy Hylton

edit a doc string

(real intent is to test out rsync install)
parent 1991ddc3
...@@ -121,7 +121,12 @@ class ASTVisitor: ...@@ -121,7 +121,12 @@ class ASTVisitor:
return meth(node) return meth(node)
class ExampleASTVisitor(ASTVisitor): 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 = {} examples = {}
def dispatch(self, node): def dispatch(self, node):
......
...@@ -121,7 +121,12 @@ class ASTVisitor: ...@@ -121,7 +121,12 @@ class ASTVisitor:
return meth(node) return meth(node)
class ExampleASTVisitor(ASTVisitor): 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 = {} examples = {}
def dispatch(self, node): def dispatch(self, node):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment