Deriving class from `object` in python

Viewed 12101

So I'm just learning python (I know plenty of other languages) and I'm confused about something. I think this is due to lack of documentation (at least that I could find). On a few websites, I've read that you should derive your classes from object:


class Base(object):
    pass

But I don't see what that does or why or when you should do it. Is there official documentation on this that I've missed? Is this a 3.x feature?

3 Answers
Related