[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Why this apparent assymetry in set operations?

skip

1/15/2008 4:07:00 PM

> > Why is that? Doesn't the |= operator essentially map to an update() call?
>
> No, according to 3.7 Set Types, s | t maps to s.union(t).

I was asking about the |= assignment operator which according to the
docs *does* map to the update method.

Skip