setnested#

class setnested(nesteddict, keylist, value, force=True)[source]#

Set the value for the given list of keys

>>> sc.setnested(foo, ['a','b'], 3)

See sc.makenested() for full documentation.