mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
edit a doc string
(real intent is to test out rsync install)
This commit is contained in:
parent
1991ddc3e1
commit
9e1cd688b5
2 changed files with 12 additions and 2 deletions
|
@ -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:
|
||||||
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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue