22 Jul
1999
22 Jul
'99
8:50 p.m.
"M" == M
writes:
M> http://www.deja.com/getdoc.xp?AN=366635977 Ah, thanks! Your rationale was exactly the reason why I added dict.get(). I'm still not 100% sure about list.pop() though, since it's not exactly equivalent -- list.pop() modifies the list as a side-effect :) Makes me think you might want an alternative spelling for list[s], call it list.get() and put the optional default on that method. Then again, maybe list.pop() with an optional default is good enough. -Barry