diff -r a532493ba99c pep-0008.txt --- a/pep-0008.txt Mon Dec 29 15:48:17 2014 +1000 +++ b/pep-0008.txt Fri Jan 02 11:59:15 2015 +0000 @@ -394,7 +394,7 @@ ============= In Python, single-quoted strings and double-quoted strings are the -same. This PEP do not make a recommendation for this. Pick a rule +same. This PEP does not make a recommendation for this. Pick a rule and stick to it. When a string contains single or double quote characters, however, use the other one to avoid backslashes in the string. It improves readability. @@ -967,13 +967,13 @@ - Use ``is not`` operator rather than ``not ... is``. While both expressions are functionally identical, the former is more readable and preferred. - + Yes:: - + if foo is not None: - + No:: - + if not foo is None: - When implementing ordering operations with rich comparisons, it is