Commit b2f89ee7 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Comment typo fixes

parent cc9d004f
...@@ -283,7 +283,7 @@ class Module(Node): ...@@ -283,7 +283,7 @@ class Module(Node):
return "Module(%s, %s)" % (repr(self.doc), repr(self.node)) return "Module(%s, %s)" % (repr(self.doc), repr(self.node))
class Expression(Node): class Expression(Node):
# Expression is an artifical node class to support "eval" # Expression is an artificial node class to support "eval"
nodes["expression"] = "Expression" nodes["expression"] = "Expression"
def __init__(self, node): def __init__(self, node):
self.node = node self.node = node
......
...@@ -66,7 +66,7 @@ class ExampleASTVisitor(ASTVisitor): ...@@ -66,7 +66,7 @@ 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 This visitor-driver is only useful for development, when it's
helpful to develop a visitor incremently, and get feedback on what helpful to develop a visitor incrementally, and get feedback on what
you still have to do. you still have to do.
""" """
examples = {} examples = {}
......
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