by divbzero · 6y ago · 0 comments
Dictionary Merge & Update Operators
Merge (|) and update (|=) operators have been added to the built-in dict class. See PEP 584 [2] for a full description. (Contributed by Brandt Bucher in bpo-36144 [3].)
[1]: https://docs.python.org/3.9/whatsnew/3.9.html "What’s New In Python 3.9"
[2]: https://www.python.org/dev/peps/pep-0584 "PEP 584"
[3]: https://bugs.python.org/issue36144 "bpo-36144"
No comments yet.