• LostXOR
    link
    fedilink
    310 months ago

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

    • @[email protected]
      link
      fedilink
      English
      910 months ago

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