DEV Community

loading...

Discussion on: Python: How to...

Collapse
renegadecoder94 profile image
Jeremy Grifski

I'm oddly excited about the possibility of a dictionary union operator in Python 3.9. I think that'll make the solution to 10 even cleaner:

result = d1 | d2

Here's the PEP for it.