Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Python Poll
If I am making a new class that inherits from an old library that
doesn't have object as its base class (doesn't use the new-style
classes), is it recommended that I add object as an additional
parent like this:
Class MyNewClass(OldStyleClass, object):
and then use super, or stick to the old style and call the init
OldStyleClass.__init__(self, ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.