Python differences in class definitions -


i know following works never understood difference between

class animal:  class animal():  class animal(object): 

is style difference or more it?

in python 3, 3 same, i.e. derive object.


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -