missing? dictionary methods

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Mar 21 21:26:04 EST 2005


George Sakkis wrote:
> As for naming, I would suggest reset() instead of set(), to emphasize that the key must be there.
> make() is ok; other candidates could be add() or put().

How about 'new' and 'old'?

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list