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.