mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +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
12 lines
311 B
Python
12 lines
311 B
Python
def d():
|
|
return {"a": 1}
|
|
|
|
"{foo[a]}".format(foo=d())
|
|
<warning descr="Too few arguments for format string">"{foo[b]}"</warning>.format(foo=d())
|
|
|
|
|
|
def d_dict():
|
|
return dict(a=1)
|
|
|
|
"{foo[a]}".format(foo=d_dict())
|
|
<warning descr="Too few arguments for format string">"{foo[b]}"</warning>.format(foo=d_dict()) |