Skip to content

Commit

Permalink
[#5402] Being explicit what this applies to (it should not apply to t…
Browse files Browse the repository at this point in the history
…hings like >=)
  • Loading branch information
weaverryan committed Jun 28, 2015
1 parent 58f9ff3 commit d606f3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ Structure
* Always use `identical comparison`_ unless you need type juggling;

* Use `Yoda conditions`_ when checking a variable against an expression to avoid
an accidental assignment inside the condition statement;
an accidental assignment inside the condition statement (this applies to ``==``,
``!=``, ``===``, and ``!==``);

* Add a comma after each array item in a multi-line array, even after the
last one;
Expand Down

0 comments on commit d606f3e

Please sign in to comment.