[PEAK] trellis.Set.discard

Phillip J. Eby pje at telecommunity.com
Sat Oct 11 11:59:29 EDT 2008


At 04:04 AM 10/11/2008 +0300, Sergey Schetinin wrote:
>I've noticed that set.discard both reads and writes the set so
>Set.discard should raise an exception.

Eh?  It doesn't read and write the set, it performs an idempotent 
operation on the set.  To be a read, it would have to communicate 
information *out* of the method.




More information about the PEAK mailing list