S
Sean DiZazzo
Why is it that you can setattr() on an instance of a class that
inherits from "object", but you can't on an instance of "object"
itself?
Traceback (most recent call last):
1000
I notice that the first example's instance doesn't have a __dict__.
Is the second way the idiom?
~Sean
inherits from "object", but you can't on an instance of "object"
itself?
Traceback (most recent call last):
1000
I notice that the first example's instance doesn't have a __dict__.
Is the second way the idiom?
~Sean