It's a pretty typical situation that you have a dictionary and you need to do something with a value in there. If the key is not in there, you fill it (with another dict / a list / something else).
This rule simplifies the code as it removes code duplication.
Example
# Bad
if key in my_dict:
my_dict = my_dict[key]
else:
my_dict[key] = {}
my_dict = my_dict[key]
# Good
if key not in my_dict:
my_dict[key] = {}
my_dict = my_dict[key]
Explanation
It's a pretty typical situation that you have a dictionary and you need to do something with a value in there. If the key is not in there, you fill it (with another dict / a list / something else).
This rule simplifies the code as it removes code duplication.
Example