Re: trellis.Set.discard

"Phillip J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]>
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.