diff options
-rw-r--r-- | Lib/compiler/ast.py | 2 | ||||
-rw-r--r-- | Lib/compiler/visitor.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index 8d69da6..a10225b 100644 --- a/Lib/compiler/ast.py +++ b/Lib/compiler/ast.py @@ -283,7 +283,7 @@ class Module(Node): return "Module(%s, %s)" % (repr(self.doc), repr(self.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" def __init__(self, node): self.node = node diff --git a/Lib/compiler/visitor.py b/Lib/compiler/visitor.py index 52ea90d..9e39d36 100644 --- a/Lib/compiler/visitor.py +++ b/Lib/compiler/visitor.py @@ -66,7 +66,7 @@ class ExampleASTVisitor(ASTVisitor): """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 + helpful to develop a visitor incrementally, and get feedback on what you still have to do. """ examples = {} |