On 08/02/06, Andrew Errington <[EMAIL PROTECTED]> wrote:

> For the example:
>
> class Foo(Object):
>
> works, but for my implementation:
>
> class Foo:
>
> doesn't.


class Foo(object):

creates a 'new-style' class.

class Foo:

creates an 'old-style' class.

It is usually better to use new style classes. And they are faster
too, I think. Google for more info.

Cheers,
Carl.

Reply via email to