daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Aug 14th, 2012 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In [240]: di = {'a': {}, 'b': 0}
  2.  
  3. In [242]: t = di['a']
  4.  
  5. In [243]: t
  6. Out[243]: {}
  7.  
  8. In [244]: t['1']=1
  9.  
  10. In [245]: di
  11. Out[245]: {'a': {'1': 1}, 'b': 0}
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top