loading...

Discussion on: Python for JavaScript Developers

Collapse
dmerejkowsky profile image
Dimitri Merejkowsky

you should inherit from object

This only makes a difference in Python2, where there was 'old style' and 'new style' classes. In Python3 there'n so difference between
class Animal: and class Animal(object):

Also, in 2017 there's little reason to be using Python 3.0.1 when 3.6 is out :)