[Python-Dev] I'd like list.pop to accept an optional second

M.-A. Lemburg mal@lemburg.com
Thu, 22 Jul 1999 22:45:24 +0200


Jim Fulton wrote:
> 
> [getattr(obj,name[,default])]
> > Okay, how did this one sneak in, huh?
> 
> I don't know.  Someone told me about it. I find it
> wildly useful.

Me too... ;-)
 
> > I didn't even realize this had
> > been added to getattr()!  CVS reveals it was added b/w 1.5.1 and
> > 1.5.2a1, so maybe I just missed the checkin message.

	http://www.deja.com/getdoc.xp?AN=366635977

-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                   162 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/