Files
openide/python/testData/refactoring/introduceVariable/multiReference.py
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

4 lines
60 B
Python

P = {'a': 0}
M = [42]
M[<selection>P['a']</selection>] += 1