These lines are the same.... >>> class X(object): ... a = 1 ... >>> X = type('X', (object,), dict(a=1))It's wonderful, isn't it?
posted by LabPen @ 3:00 AM
You write very well.
Post a Comment
<< Home
1 Comments:
You write very well.
Post a Comment
<< Home