From: Andrew M. Kuchling Date: Mon, 11 Aug 2003 16:20:39 +0000 (+0000) Subject: Comment typo fixes X-Git-Tag: v2.4a1~1756 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2f89ee71a494b3b1aaaeef42d2b43bcf50735cd;p=python Comment typo fixes --- diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index 8d69da6d99..a10225bbbc 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 52ea90d3bd..9e39d36649 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 = {}