Question about None

Aaron Brady castironpi at gmail.com
Wed Jun 17 11:10:48 EDT 2009


On Jun 17, 5:47 am, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> John Yeung a écrit :
> > But mathematically speaking, it's intuitive that "nothing" would match
> > any type.
>
> IOW, what's the OP is after is not the None type, but some yet
> unexisting "Anything" type !-)

The behaviors of the 'anything' object are a subset of those of any
other object.

I don't believe that 'subset' is a proper characterization of the
relationship between the methods of a subclass and the methods of its
superclass.  But 'superset' may be.

Should 'object' inherit from None?



More information about the Python-list mailing list