class Event(object):
I've thought that if I write
class Event:
pass
, it'll be subclass of object too, I was wrong?
--
Best regards, Alex Gusarov
>
Always subclass object, unless you have a very compelling reason not to,
or you are subclassing something else.
>
Always subclass object, unless you have a very compelling reason not to,
or you are subclassing something else.
>
class Event:
pass
, it'll be subclass of object too, I was wrong?
--
Best regards, Alex Gusarov
Comment