Files
Ekaterina Tuzova 0a38c715d8 fixed PY-10964 Extract variable doesn't work as expected inside brackets
fixed PY-10221 Refactor->Extract->Variable may break square bracket symmetry and may break user input

there are overlapped reference in python for slice expression (P['x']) one for the reference itself, one for the operator [
2013-10-08 17:07:37 +04:00

5 lines
45 B
Python

P = {'a': 0}
M = [42]
a_ = P['a']
M[a_] += 1