[IMP] doc: update guidelines.rst

Typo
Closes #14652
This commit is contained in:
Patrik Lermon
2016-12-09 09:29:42 +01:00
committed by Martin Trigaux
parent 286aecea7c
commit f61dc8451e
+1 -1
View File
@@ -408,7 +408,7 @@ Idiomatics Python Programming
.. code-block:: python
value = my_dict.get('key', None) # very very redundant
value= my_dict.get('key') # good
value = my_dict.get('key') # good
Also, ``if 'key' in my_dict`` and ``if my_dict.get('key')`` have very different
meaning, be sure that you're using the right one.