mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 12:14:37 +07:00
7 lines
275 B
Python
7 lines
275 B
Python
list = [1, 2, 3]
|
|
"{foo[1]}".format(foo=list)
|
|
"{foo[3]}".format(foo=<warning descr="Too few arguments for format string">list</warning>)
|
|
|
|
tuple = (1, 2, 3)
|
|
"{foo[1]}".format(foo=tuple)
|
|
"{foo[3]}".format(foo=<warning descr="Too few arguments for format string">tuple</warning>) |