Homec4science

When comparing to None, do not use "== None" or "!= None", but rather "is None"…

Authored by Tibor Simko <tibor.simko@cern.ch> on Nov 28 2006, 18:46.

Description

When comparing to None, do not use "== None" or "!= None", but rather "is None" or "is not None", as per PEP 8.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Nov 28 2006, 18:46
Parents
R3600:aab79bef5b4c: Added '-r' arg to call to BibUpload.
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:5dda83af3d76: When comparing to None, do not use "== None" or "!= None", but rather "is None"… (authored by Tibor Simko <tibor.simko@cern.ch>).Nov 28 2006, 18:46