In [6]: B.dict Out[6]: {'doc': None, 'module': 'main'}
In [7]: b.dict Out[7]: {}
In [8]: b.name = 'bb'
In [9]: b.dict Out[9]: {'name': 'bb'}
In [10]: B.dict Out[10]: {'doc': None, 'module': 'main'}
In [11]: B.bname = 'Bbbb'
In [12]: B.dict Out[12]: {'doc': None, 'module': 'main', 'bname': 'Bbbb'}
In [13]: b.dict Out[13]: {'name': 'bb'}
In [14]: b.bname Out[14]: 'Bbbb'
In [15]: In [15]: int.hyh=1
TypeError Traceback (most recent call last) <ipython-input-15-75b2017971a3> in <module>() ----> 1 int.hyh=1
TypeError: can't set attributes of built-in/extension type 'int'
In [16]: