What is object()
Aahz
aahz at pythoncraft.com
Thu Jan 22 16:48:38 EST 2004
In article <10105gchtsl1a21 at news.supernews.com>,
John Roth <newsgroups at jhrothjr.com> wrote:
>"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.
"Not much" != "none" ;-)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
A: No.
Q: Is top-posting okay?
More information about the Python-list
mailing list