kingthrillgore to 196@lemmy.blahaj.zone · 1 year agodoes this code run ruleimagemessage-square43fedilinkarrow-up1293arrow-down10
arrow-up1293arrow-down1imagedoes this code run rulekingthrillgore to 196@lemmy.blahaj.zone · 1 year agomessage-square43fedilink
minus-squareLostXOR@kbin.sociallinkfedilinkarrow-up3·1 year agoYou’re right, though IIRC there’s no functional difference when comparing to None (other than speed).
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up9·1 year agoYes there is. One invokes __ne__ on the left hand side, the other performs an identity comparison.
You’re right, though IIRC there’s no functional difference when comparing to None (other than speed).
Yes there is. One invokes
__ne__
on the left hand side, the other performs an identity comparison.