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/2009-November/093705.html below:

[Python-Dev] Retrieve an arbitrary element from a setwithoutremoving it

[Python-Dev] Retrieve an arbitrary element from a setwithoutremoving it [Python-Dev] Retrieve an arbitrary element from a setwithoutremoving itRaymond Hettinger python at rcn.com
Wed Nov 4 07:35:57 CET 2009
> Personally, I have found it useful in doco I write to have a section on
> "Common Tasks", with recommended/suggested examples of how to do them and
> short rationale for the chosen method. It seems to me that if .pick()
> is frequently desired and "None of the standard solutions are obvious
> or easily discoverable" then they should be _made_ so with documentation.
>
> Comments?

That's reasonable.  It's in the same category as people who can't figure-out how to clear a list because they forgot about slice 
notation.

Raymond


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