[Python-ideas] get method for sets?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 17 01:56:51 CEST 2012


Steven D'Aprano wrote:

> By the way, I suggest that a better name than "get" is pick()

I was going to suggest peek(), which is more suggestive
of a non-modifying function.

-- 
Greg



More information about the Python-ideas mailing list