Beginners question
Oscar Benjamin
oscar.j.benjamin at gmail.com
Thu Aug 30 09:30:29 EDT 2012
On Thu, 30 Aug 2012 09:23:03 -0400, Dave Angel <d at davea.name> wrote:
> I haven't discovered why sometimes the type output shows type
instead of
> class. There are other ways of defining classes, however, and
perhaps
> this is using one of them. Still, it is a class, and stat() is
> returning an instance of that class.
Builtin types show as type and classes defined in python show as
class (even if they inherit from builtin types).
Oscar
More information about the Python-list
mailing list