diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-03 17:11:38 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-03 17:11:38 +0300 |
commit | b9e462e49d38e5e4a188f5fb24b61a71aeab8320 (patch) | |
tree | 82569612dc55bd41c4bdfabd42738e86c854c567 /astroid/objects.py | |
parent | 2ea4dfbdbad28b51ee51c9050af0dff025b62cef (diff) | |
download | astroid-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