Pyhton Return Object Annonim

>>> obj = type('',(object,),{"foo": 1})()
>>> obj.foo
1
DreamCoder