On 28/01/2015 10:24 AM, Mario Figueiredo wrote:
In other words, the object know as "Sub class" is not an instance
object. True, it is an instance of the object 'type'.

    >>> class Foo:
    ...     pass
    ...
    >>> isinstance(Foo, type)
    True
    >>> isinstance(Foo, object)
    True

A class is an object that is an instance of the class type. I'm still failing to see what distinction you're trying to make here.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to