remove trailing ws
This commit is contained in:
parent
ae0f50ead3
commit
48e4630fce
|
@ -967,13 +967,13 @@ Programming Recommendations
|
||||||
- Use ``is not`` operator rather than ``not ... is``. While both
|
- Use ``is not`` operator rather than ``not ... is``. While both
|
||||||
expressions are functionally identical, the former is more readable
|
expressions are functionally identical, the former is more readable
|
||||||
and preferred.
|
and preferred.
|
||||||
|
|
||||||
Yes::
|
Yes::
|
||||||
|
|
||||||
if foo is not None:
|
if foo is not None:
|
||||||
|
|
||||||
No::
|
No::
|
||||||
|
|
||||||
if not foo is None:
|
if not foo is None:
|
||||||
|
|
||||||
- When implementing ordering operations with rich comparisons, it is
|
- When implementing ordering operations with rich comparisons, it is
|
||||||
|
|
Loading…
Reference in New Issue