[Python-ideas] get method for sets?

Devin Jeanpierre jeanpierreda at gmail.com
Wed May 16 09:38:57 CEST 2012


On Wed, May 16, 2012 at 3:26 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> Are you suggesting that get() and pop() should not return the same
> element?

He is suggesting that "It doesn't even need to be the same element
that set.pop() would return."

-- Devin



More information about the Python-ideas mailing list