[Phillip Eby]
> I'm not fond of this idea. dict.copy() is polymorphic -- but dict(d) is...

Can't say dict.copy() is really polymorphic if only one other class defines the 
method.

The __copy__ method is more common.  The only wrinkle is that the copy() 
function isn't a builtin.


Raymond
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to