There was already recent suggestion to add a method to discard a value from a list/deque without raising an exception: Add list.discard() and deque.discard()
4 Likes
There was already recent suggestion to add a method to discard a value from a list/deque without raising an exception: Add list.discard() and deque.discard()