Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Monday, 30-Jun-2025 00:13:46 JST
Zergling_manPython's dict splice ({a}|{b}) does not recursively splice dicts:
>>> a={1:{1:1}}
>>> b={1:{2:2}}
>>> a
{1: {1: 1}}
>>> b
{1: {2: 2}}
>>> a|b
{1: {2: 2}}