A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-September/068913.html below:

[Python-Dev] list.discard? (Re: dict.discard)

[Python-Dev] list.discard? (Re: dict.discard) [Python-Dev] list.discard? (Re: dict.discard)Fred L. Drake, Jr. fdrake at acm.org
Fri Sep 22 02:28:00 CEST 2006
On Thursday 21 September 2006 20:21, Greg Ewing wrote:
 >    if x not in somelist:
 >      somelist.remove(x)

I'm just guessing you really meant "if x in somelist".  ;-)


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4