[pep-8] Prefer "foo is None" to "foo == None" #9582

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:is-none changing 9 files +27 −27
  1. practicalswift commented at 9:53 AM on January 19, 2017: contributor

    Prefer foo is None to foo == None.

    In accordance with Style Guide for Python Code (PEP 8):

  2. [pep-8] Prefer "foo is None" to "foo == None"
    In accordance with Style Guide for Python Code (PEP 8):
    * https://www.python.org/dev/peps/pep-0008/#programming-recommendations
    c414369f56
  3. fanquake commented at 9:56 AM on January 19, 2017: member

    @practicalswift Please combine this, and any other similar changes into #9581. I'll add some more comments there.

  4. fanquake closed this on Jan 19, 2017

  5. practicalswift deleted the branch on Apr 10, 2021
  6. DrahtBot locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me