Re: [Python-Dev] Is object the most base type? (bpo-20285)

2018年2月02日 03:26:11 -0800

> On Fri, Feb 02, 2018 at 01:53:00AM -0500, Terry Reedy wrote:
>> >>> object.__doc__
>> 'The most base type'
> [...]
>> I have suggested
>> "The superclass for all Python classes."
>> "The starting base class of all types and classes other than itself."
>>
>> I intended to pick the second, but Serhiy Storchake wants more opinions.
On 2 February 2018 at 07:25, Steven D'Aprano <[email protected]> wrote:
> "the base class of the class heirarchy"
>
> "the root of the class heirarchy"
The RST documentation
<https://docs.python.org/release/3.6.4/library/functions.html#object>
says
Object is a base for all classes.
which is better than "the most base type" IMO, although I would write
_the_ base rather than _a_ base; there is only one object class. In my
patch for the RST documentation in
<https://bugs.python.org/issue16508> I proposed
This is the ultimate base class of all other classes.
which I still think is okay (though other parts of my patch doesn’t
seem very good).
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to