[Python-Dev] Old Style Classes Goiung in Py3K

Guido van Rossum guido at python.org
Wed Feb 8 19:49:14 CET 2006


On 2/8/06, Fuzzyman <fuzzyman at voidspace.org.uk> wrote:
> I understand that old style classes are slated to disappear in Python 3000.
>
> Does this mean that the following will be a syntax error :
>
> class Something:
>     pass
>
> *or* that instead it will automatically inherit from object ?

The latter of course. I never even considered making this illegal. :-)

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list