mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
(cherry picked from commit bce089714657aef8634ffb9c58da57fdb576b297) IJ-CR-112218 GitOrigin-RevId: 8857c2951e44a1e9d0b54af1eb7c584f64fbc40d
8 lines
285 B
Python
8 lines
285 B
Python
<weak_warning descr="Multi-step list initialization can be replaced with a list literal">my_<caret>list = [m]</weak_warning>
|
|
my_list.append(1)
|
|
my_list.append(var)
|
|
my_list.append(my_list)
|
|
if bar: #PY-2898
|
|
my_list.append("bar")
|
|
my_list.append(my_list)
|
|
do_something() |