meta data for this page
dict
merge dictionaries
Dictionary Merge & Update Operators
c = a | b a |= b
comprehension
example_a = {x: x**2 for x in (2, 4, 6)} example_choices = {0: "disabled"} | {x: str(x) for x in range(10,91,10)} | { 99: "max" }
jump to: Search / User Tools / Main Content / Change Content Width
niziak.spox.org
Dictionary Merge & Update Operators
c = a | b a |= b
example_a = {x: x**2 for x in (2, 4, 6)} example_choices = {0: "disabled"} | {x: str(x) for x in range(10,91,10)} | { 99: "max" }
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3