diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2011-09-07 10:23:10 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2011-09-07 10:23:10 +0200 |
commit | e44eee868fab3b72f100da3aeae4338215a9b5a0 (patch) | |
tree | 1890aedc930714372518fbc573d04f5664080d0f /builder.py | |
parent | 7d24bf13562c03eace54dd0414abcbbe61675d97 (diff) | |
download | astroid-git-e44eee868fab3b72f100da3aeae4338215a9b5a0.tar.gz |
closes #74748: getitem protocal should return Const node, not the bare python value
This one is cute. It's a fix for a crash that occurs on code like
"any string literal"[0].upper()
due to the fact that the extracted string literal is not properly wrapped,
but returned as a naked string object.
(patch by google)
Diffstat (limited to 'builder.py')
0 files changed, 0 insertions, 0 deletions