Skip to content
  • Thomas H.P. Andersen's avatar
    python: avoid equality check for None · a8b416f9
    Thomas H.P. Andersen authored
    PEP8 says that:
    "Comparisons to singletons like None should always be done with is or
    is not, never the equality operators."
    
    glib uses a mix of "== None" and "is None". This patch changes all
    cases to the latter.
    a8b416f9