diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2018-07-24 22:50:10 +0300 |
---|---|---|
committer | Bryce Guinta <bryce.guinta@protonmail.com> | 2018-07-24 13:59:13 -0600 |
commit | b8122df810a7d3e1664154fdcb9873dcfb6e2ecb (patch) | |
tree | 130f0eaa0639daa3d51117a296b596720fe86a22 /astroid/rebuilder.py | |
parent | ed835c5bf28328de87ae47ea8cfbae5774d3184e (diff) | |
download | astroid-git-b8122df810a7d3e1664154fdcb9873dcfb6e2ecb.tar.gz |
Spelling fixes
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r-- | astroid/rebuilder.py | 6 |
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): |