colour_hdri.vivification¶
-
colour_hdri.
vivification
()[source]¶ Implements supports for vivification of the underlying dict like data-structure, magical!
- Returns
- Return type
defaultdict
Examples
>>> vivified = vivification() >>> vivified['my']['attribute'] = 1 >>> vivified['my'] defaultdict(<function vivification at 0x...>, {u'attribute': 1}) >>> vivified['my']['attribute'] 1