Re: Newbie Question - Overloading ==



Yeah, this is what I'm talking about:

def __eq__(self, other) :
  try :
     return <>
  except AttributeError:
     return False

That seems a bit nasty to me.

.



Relevant Pages

  • Re: (Deck) Anarch Lam Soup (from NYC qualifier finals)
    ...   1x Atonement ... Yeah, I have been considering that, too (I have a kind of dubious pot/ ... cel/for anarch rush deck in circulation that isn't actually that bad. ... but those were the games I ended up winning. ...
    (rec.games.trading-cards.jyhad)
  • Re: MARY1973 HAS BIG TITS AND NO BRAINS
    ...   ... Yeah, I have no idea what is going on with this guy. ... http://www.nylxs.com - Leadership Development in Free Software ... You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. ...
    (alt.sports.baseball.ny-mets)
  • Re: PDF Quest
    ... Terry Austin: like the polio vaccine, ... Yeah, I had Terry confused with Hannibal Lecter. ... meaning of the official claims) will shake the belief in authority. ...
    (rec.games.frp.dnd)
  • Re: history of science: cases of mainstream in error
    ... due to light rippling through it? ...     occurs at the speed of light ... yeah; von Braun was *such* ... And the trouble with Galois theory is not only, ...
    (sci.math)
  • Re: Street Legal
    ... review after another saying how horrible it was. ...     ... Yeah, fell in love with sides too my freshman year at Kent State....it ...
    (rec.music.artists.springsteen)