[Tutor] Is there a preference of "class MyClass:" or "class MyClass(object):" for Py3?

boB Stepp robertvstepp at gmail.com
Fri Jan 15 22:30:57 EST 2016


Pythonic style/preference question:  For strictly Python 3 code, is
there any preference for

class MyClass:
    pass

versus the more explicit

class MyClass(object):
    pass

?

TIA!

-- 
boB


More information about the Tutor mailing list