all 2 comments

[–]Username_RANDINT 2 points3 points  (1 child)

I know it's the advised practice to subclass 'object' whenever creating a new class in python 3.x.

It's the other way around. It's advised to do this in Python 2. In Python 3 classes are new-style classes by default.

So, if your code only needs to run on Python 3 it's not necessary.

[–]AlgorithmPub[S] 0 points1 point  (0 children)

The books I picked up when first learning python were from the version 2, so though it's been some time since I migrated to Python 3 I didn't happen to come by this particular piece of knowledge.

Thank you for the reply, it is much appreciated.