[Python-Dev] set.copy documentation string

"Martin v. Löwis" martin at v.loewis.de
Thu Dec 29 00:13:04 CET 2005


Noam Raphael wrote:
> is currently "Return a shallow copy of a set."
> 
> Perhaps "shallow" should be removed, since set members are supposed to
> be immutable so there's no point in a deep copy?

That still doesn't make copy return a deep copy, right? "shallow copy"
is more precise than "copy", and correct - what is gained from
removing it?

Regards,
Martin


More information about the Python-Dev mailing list