summaryrefslogtreecommitdiff
path: root/astroid/inference.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-11-06 18:16:41 -0500
committerCeridwen <ceridwenv@gmail.com>2015-11-06 18:16:41 -0500
commitd052e7e223d32c7afbe8d8a19ff3747025f59982 (patch)
treed336c42ff5f55840a4703ce6c2f3c133a7e8a34c /astroid/inference.py
parentd3d9bcbc91dfb60ee88b1a6667db92fd00172d67 (diff)
parent2f88b3eb44b6e895f45dd45c709e29a8f365e04f (diff)
downloadastroid-git-d052e7e223d32c7afbe8d8a19ff3747025f59982.tar.gz
Merge upstream changes
Diffstat (limited to 'astroid/inference.py')
-rw-r--r--astroid/inference.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/inference.py b/astroid/inference.py
index 47f60d9d..45f31ff6 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -747,6 +747,6 @@ def instance_getitem(self, index, context=None):
except StopIteration:
util.reraise(exceptions.InferenceError(
message='Inference for {node!r}[{index!s}] failed.',
- node=self, index=index.value, context=context))
+ node=self, index=index, context=context))
bases.Instance.getitem = instance_getitem