setnested#
- setnested(nested, keylist, value, force=True)[source]#
Set the value for the given list of keys
- Parameters:
Example:
sc.setnested(foo, ['a','b'], 3) # Sets foo['a']['b'] = 3
See
sc.makenested()
for full documentation.
Set the value for the given list of keys
Example:
sc.setnested(foo, ['a','b'], 3) # Sets foo['a']['b'] = 3
See sc.makenested()
for full documentation.