mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 07:11:30 +07:00
* Move indexed elements resolve from inspection to PySubstitutionChunkReference * Resolve correctly to packed list/tuple inside list/tuple, to packed dict inside dict * Update tests
10 lines
521 B
Python
10 lines
521 B
Python
"{foo[1]}".format(foo=(1, 2, 3))
|
|
"{foo[1]}".format(foo=({1: 1}))
|
|
"{foo[1]}".format(foo=([1, 2, 3]))
|
|
|
|
"{foo[a]}".format(foo=({"a": 1}))
|
|
|
|
<warning descr="Too few arguments for format string">"{foo[3]}"</warning>.format(foo=(1, 2, 3))
|
|
<warning descr="Too few arguments for format string">"{foo[3]}"</warning>.format(foo=({1: 1}))
|
|
<warning descr="Too few arguments for format string">"{foo[3]}"</warning>.format(foo=([1, 2, 3]))
|
|
<warning descr="Too few arguments for format string">"{foo[b]}"</warning>.format(foo=({"a": 1})) |