On 2/8/06, Georg Brandl <g.brandl at gmx.net> wrote: > Fuzzyman wrote: > > Hello all, > > > > 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 ? > > Of course, I would say. There's no reason to forbid this in Py3k. > And you would be right. Guido has always said that classes would act as if they inherited from object by default. There are no plans to change the syntax of how you can specify inheritance in Python 3. All that is changing is what the default is when you specify no superclasses. -Brett
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4