Thread-safe way to add a key to a dict only if it isn't already there?
On Sat, 07 Jul 2018 02:51:41 +0900, INADA Naoki wrote:
> D.setdefault('c', None)
Oh that's clever!
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson