3 ms·
Here I was wondering what a dictionary union was, already having stumbled upon to it and used it. Note that the method you show is slightly different for cases
by CameronNemo 7y ago
Here I was wondering what a dictionary union was, already having stumbled upon to it and used it.
Note that the method you show is slightly different for cases of dict subclasses.
The PEP notes the difference: https://www.python.org/dev/peps/pep-0584/#d1-d2 https://www.python.org/dev/peps/pep-0584/#d1-d2.