Hey, I just started wondering about this as I came upon a code that expected an object with a certain set of attributes (but with no specification of what type this object shoul
If you don't need to pass values in the constructor, you can do this:
class data: pass data.foo = 1 data.bar = 2
You use the class static member variables to hold your data.