summaryrefslogtreecommitdiff
path: root/astroid/as_string.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/as_string.py
parented835c5bf28328de87ae47ea8cfbae5774d3184e (diff)
downloadastroid-git-b8122df810a7d3e1664154fdcb9873dcfb6e2ecb.tar.gz
Spelling fixes
Diffstat (limited to 'astroid/as_string.py')
-rw-r--r--astroid/as_string.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/as_string.py b/astroid/as_string.py
index b5c0cdbb..b6338509 100644
--- a/astroid/as_string.py
+++ b/astroid/as_string.py
@@ -407,7 +407,7 @@ class AsStringVisitor:
return 'return'
def visit_index(self, node):
- """return a astroid.Index node as string"""
+ """return an astroid.Index node as string"""
return node.value.accept(self)
def visit_set(self, node):
@@ -420,7 +420,7 @@ class AsStringVisitor:
' '.join([n.accept(self) for n in node.generators]))
def visit_slice(self, node):
- """return a astroid.Slice node as string"""
+ """return an astroid.Slice node as string"""
lower = node.lower.accept(self) if node.lower else ''
upper = node.upper.accept(self) if node.upper else ''
step = node.step.accept(self) if node.step else ''