git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

class definition question


Hi there,
More often I see something like this:

class Myclass:
...


but sometimes I see

class Myclass(object):
...


Question: which way is preferable?

-- 
Manfred