On Wed, Sep 9, 2020 at 8:52 AM Chris Angelico <ros...@gmail.com> wrote:

[snip]
> And if you absolutely have to mutate in place:
>
> items[:] = [i for i in items if i not in "bcd"]

How does that work to mutate in place?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to