Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64160

Re: interactive help on the base object

Date 2014-01-17 13:25 +0100
From Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: interactive help on the base object
Newsgroups comp.lang.python
Message-ID <mailman.5639.1389961529.18130.python-list@python.org> (permalink)

Show all headers | View raw


----- Original Message -----
> On 17/01/2014 01:00, Terry Reedy wrote:
> > On 12/6/2013 8:35 PM, Terry Reedy wrote:
> >> On 12/6/2013 12:03 PM, Mark Lawrence wrote:
> >>> Is it just me, or is this basically useless?
> >>>
> >>>  >>> help(object)
> >>> Help on class object in module builtins:
> >>>
> >>> class object
> >>>   |  The most base type
> >>
> >> Given that this can be interpreted as 'least desirable', it could
> >> definitely be improved.
> >>
> >>> Surely a few more words,
> >>
> >> How about something like.
> >>
> >> '''The default top superclass for all Python classes.
> >>
> >> Its methods are inherited by all classes unless overriden.
> >> '''
> >>
> >> When you have 1 or more concrete suggestions for the docstring,
> >> open a
> >> tracker issue.
> >
> > At Mark's invitation, I have done so.
> > http://bugs.python.org/issue20285
> >
> 
> Thanks, I've altered my will accordingly :)
> 
> 
> --
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
> 
> Mark Lawrence

The issue is tagged 2.7. Is object the superclass of all classes in 2.7 ?
I'm asking because in 2.5, it is not (old/new style).

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: interactive help on the base object Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-01-17 13:25 +0100

csiph-web