An object is an instance (or not)?

random832 at fastmail.us random832 at fastmail.us
Wed Jan 28 00:37:46 EST 2015


On Tue, Jan 27, 2015, at 16:06, Mario Figueiredo wrote:
> That error message has me start that thread arguing that the error is 
> misleading because the Sub object does have the __bases__ attribute. 
> It's the Sub instance object that does not have it.

What do you think "Sub object" means?

Sub itself is not a Sub object, it is a type object. "instance" is
implicit in the phrase "foo object".



More information about the Python-list mailing list