SilentGhost added the comment:
Again, please start proposal discussion at python-ideas. Also, it is not
sufficient just to post there, you need to engage with the people asking
question to justify whatever new feature you're advocating.
--
components: +Interpreter Core
nosy:
New submission from Lovi <1668151...@qq.com>:
I think the list can add a parameter to remove():
remove(value, appear_time=1, /)
The parameter appear_time indicates the number of times the value appears in
the list.
I want this effect:
>>> list1 = [1, 2, 3, 2, 1, 2, 1]
>>> list1.remove(2,