Skip to content
Snippets Groups Projects
Unverified Commit f61dc845 authored by Patrik Lermon's avatar Patrik Lermon Committed by Martin Trigaux
Browse files

[IMP] doc: update guidelines.rst

Typo
Closes #14652
parent 286aecea
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment