summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-03 17:11:38 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-03 17:11:38 +0300
commitb9e462e49d38e5e4a188f5fb24b61a71aeab8320 (patch)
tree82569612dc55bd41c4bdfabd42738e86c854c567 /astroid/objects.py
parent2ea4dfbdbad28b51ee51c9050af0dff025b62cef (diff)
downloadastroid-git-b9e462e49d38e5e4a188f5fb24b61a71aeab8320.tar.gz
Don't wrap instance's arguments into a Const, instead let the original index object to be used.
This prevents a crash when the original index object is a slice object, which was wrapped inadvertendly in a Const node, leading to a crash later on if the said object was inferred. Closes issue #200.
Diffstat (limited to 'astroid/objects.py')
0 files changed, 0 insertions, 0 deletions