#13343: GitHub: PR 175 Compare to `None` using identity `is` operator
----------------------------------+--------------------------
Reporter: janisozaur | Owner: (none)
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
----------------------------------+--------------------------
https://github.com/MythTV/mythtv/pull/175
This is a trivial change that replaces `==` operator with `is` operator,
following PEP 8 guideline:
> Comparisons to singletons like None should always be done with is or is
not, never the equality operators.
https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13343>
MythTV <http://www.mythtv.org>
MythTV Media Center
----------------------------------+--------------------------
Reporter: janisozaur | Owner: (none)
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
----------------------------------+--------------------------
https://github.com/MythTV/mythtv/pull/175
This is a trivial change that replaces `==` operator with `is` operator,
following PEP 8 guideline:
> Comparisons to singletons like None should always be done with is or is
not, never the equality operators.
https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13343>
MythTV <http://www.mythtv.org>
MythTV Media Center