Use normal assignment by key instead of setdefault() everywhere.
The setdefault() dict object method updates the value only if it's not
already set, so it's useless for what we want to do, despite its deceptive name.
Use normal assignment by key instead of setdefault() everywhere. Tags None Referenced Files None Subscribers None
Description
Details
|