Pyhton Return Annonimowy obiekt

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