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

loops - Spock: How to use test data with @Stepwise -

amazon web services - S3 Pre-signed POST validate file type? -