You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
there are still bugs. Note: {**{'x': 1}, **{'y': 2}} and {{'x': 1}, **{'y': 2}} generate the same Python 3.5+ bytecode.
10 lines
232 B
Python
10 lines
232 B
Python
# Python 3.5+ PEP 448 - Additional Unpacking Generalizations for dictionaries
|
|
{**{}}
|
|
{**{'a': 1, 'b': 2}}
|
|
## {**{'x': 1}, **{'y': 2}}
|
|
# {'c': 1, {'d': 2}, **{'e': 3}}
|
|
[*[]]
|
|
{**{0:0 for a in b}}
|
|
## {**{}, **{}}
|
|
## {**{}, **{}, **{}}
|