# Python 3.5+ PEP 448 - Additional Unpacking Generalizations for dictionaries # RUNNABLE! b = {**{}} assert b == {} c = {**{'a': 1, 'b': 2}} assert c == {'a': 1, 'b': 2} d = {**{'x': 1}, **{'y': 2}} assert d == {'x': 1, 'y': 2} # {'c': 1, {'d': 2}, **{'e': 3}} [*[]] assert {0: 0} == {**{0:0 for a in c}} # FIXME: assert deparsing is incorrect for: # {**{}, **{}} # assert {} == {**{}, **{}, **{}} # {**{}, **{}, **{}} # assert {} == {**{}, **{}, **{}}