4 ms·
dict(d1, **d2) only works with string keys {**d1,**d2} or dict({**d1,**d2}) works with all key types it seems
by seemslegit 7y ago
dict(d1, **d2)
only works with string keys
{**d1,**d2} or dict({**d1,**d2})
works with all key types it seems