Closed deepsource-autofix[bot] closed 1 year ago
It is unnecessary to provide None as the default value when the key is not present in the dictionary as get implicitly returns None. Not preferred:
None
get
It is unnecessary to provide
None
as the default value when the key is not present in the dictionary asget
implicitly returnsNone
. Not preferred: