• LostXOR
    link
    fedilink
    21 year ago

    You’re right, though IIRC there’s no functional difference when comparing to None (other than speed).

    • @[email protected]
      link
      fedilink
      English
      91 year ago

      Yes there is. One invokes __ne__ on the left hand side, the other performs an identity comparison.