PEP 851 – Add list.discard() https://peps.python.org/pep-0851/ Discussions-To: Discourse thread Abstract Add list.discard(x) , which removes the first item equal to x if one is present and does nothing otherwise, returning whether an item was removed.…
Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.