What is object()

John Roth newsgroups at jhrothjr.com
Thu Jan 22 13:26:07 EST 2004


"Aahz" <aahz at pythoncraft.com> wrote in message
news:bup01m$hjm$1 at panix1.panix.com...
> In article <mailman.655.1074790103.12720.python-list at python.org>,
> Hameed Khan  <hameedkhaan at yahoo.com> wrote:
> >
> >  i was reading library refrence manual. there i found
> >object() function. they says in library refrence that
> >        "Return a new featureless object. object() is
> >a base for all new style classes. It has the methods
> >that are common to all instances of new style
> >classes."
>
> There's not much use for an instance of object.  Don't worry about it.

Unless, of course, you're using the __new__() method.

John Roth

> -- 
> Aahz (aahz at pythoncraft.com)           <*>
http://www.pythoncraft.com/





More information about the Python-list mailing list