summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-07-24 22:50:10 +0300
committerBryce Guinta <bryce.guinta@protonmail.com>2018-07-24 13:59:13 -0600
commitb8122df810a7d3e1664154fdcb9873dcfb6e2ecb (patch)
tree130f0eaa0639daa3d51117a296b596720fe86a22 /astroid/rebuilder.py
parented835c5bf28328de87ae47ea8cfbae5774d3184e (diff)
downloadastroid-git-b8122df810a7d3e1664154fdcb9873dcfb6e2ecb.tar.gz
Spelling fixes
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 0ee0f0ec..c37128fa 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -181,7 +181,7 @@ class TreeRebuilder:
node.parent.set_local(node.name, node)
def visit_arguments(self, node, parent):
- """visit a Arguments node by returning a fresh instance of it"""
+ """visit an Arguments node by returning a fresh instance of it"""
vararg, kwarg = node.vararg, node.kwarg
if PY34:
newnode = nodes.Arguments(vararg.arg if vararg else None,
@@ -432,7 +432,7 @@ class TreeRebuilder:
def visit_decorators(self, node, parent):
"""visit a Decorators node by returning a fresh instance of it"""
# /!\ node is actually a _ast.FunctionDef node while
- # parent is a astroid.nodes.FunctionDef node
+ # parent is an astroid.nodes.FunctionDef node
newnode = nodes.Decorators(node.lineno, node.col_offset, parent)
newnode.postinit([self.visit(child, newnode)
for child in node.decorator_list])
@@ -851,7 +851,7 @@ class TreeRebuilder3(TreeRebuilder):
"""extend and overwrite TreeRebuilder for python3k"""
def visit_arg(self, node, parent):
- """visit a arg node by returning a fresh AssName instance"""
+ """visit an arg node by returning a fresh AssName instance"""
return self.visit_assignname(node, parent, node.arg)
def visit_nameconstant(self, node, parent):