[Python-checkins] r76892 - python/trunk/Doc/library/stdtypes.rst

R. David Murray rdmurray at bitdance.com
Sun Dec 20 02:46:40 CET 2009


On Sun, 20 Dec 2009 09:46:23 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
> georg.brandl wrote:
> > Modified: python/trunk/Doc/library/stdtypes.rst
> > ==============================================================================
> > --- python/trunk/Doc/library/stdtypes.rst	(original)
> > +++ python/trunk/Doc/library/stdtypes.rst	Sat Dec 19 19:20:18 2009
> > @@ -2828,8 +2828,7 @@
> >  
> >  .. attribute:: class.__bases__
> >  
> > -   The tuple of base classes of a class object.  If there are no base classes, this
> > -   will be an empty tuple.
> > +   The tuple of base classes of a class object.
> 
> Hmm, I never found that redundant - it makes it clear the terminal value
> is () rather than None.

Since it says 'The tuple of...' its value should not be able to be
anything other than a tuple unless that is explicitly documented, IMO.
At least, that's what I'd expect.

--David


More information about the Python-checkins mailing list