| ★ wanayoo — archive 1999 https://ashwinvis.github.io/ | Nouvelle recherche | Portail wanayoo |
This post demonstrates a strange behaviour encountered while initializing a dictionary using the dict.fromkeys method. TLDR: be careful while passing mutable arguments such as lists.