In reply to @ben_nuttall

@ben_nuttall I'd always go for dict.get or dict.setdefault. Say what you mean, and so on

0 favourites 0 retweets

View this tweet on twitter.com

This tweet as JSON