mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 17:47:53 +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
14 lines
513 B
Python
14 lines
513 B
Python
def f(mode):
|
|
if mode == "i":
|
|
return 1
|
|
elif mode == "f":
|
|
return 1.0
|
|
elif mode == "s":
|
|
return ""
|
|
elif mode == "b":
|
|
return True
|
|
|
|
<warning descr="Too few arguments for format string">"{}{}"</warning>.format(f("i"))
|
|
<warning descr="Too few arguments for format string">"{}{}"</warning>.format(f("f"))
|
|
<warning descr="Too few arguments for format string">"{}{}"</warning>.format(f("s"))
|
|
<warning descr="Too few arguments for format string">"{}{}"</warning>.format(f("b")) |