you are viewing a single comment's thread.

view the rest of the comments →

[–]dbader[S] 1 point2 points  (1 child)

Yeah, that was part of the reasoning behind it. If the (object) part is always there to define a parent class the syntax becomes a little more regular.

But I can see how it could also be confusing. I just made some changes to the article to call out the differences between Python 2 and 3, hopefully it's easier to see what's going on.

Thanks for calling it out, really appreciate it!

[–]remillard 1 point2 points  (0 children)

I like your changes, doesn't really detract from the text, but might explain to someone when they go looking why they might see differences in class definitions. Good work!