python type function for dummy type -


this first time see following codes.

dataset = type('dummy', (), {})() 

and print dataset in console tells me

<__main__.dummy @ ox7feec5195e90> 

can me figure these codes mean?


Comments

Popular posts from this blog

java - AEM: 403 Forbidden occurs when call a Post servlet -

ruby on rails - ActiveRecord order not working -

Google Alert - facebook