Hacker News new | past | comments | ask | show | jobs | submit login

"This is why super() receives the class as a parameter" <-- this is not necessary in python 3. Your argument is valid in python2, but python3 allows a super() call without a type argument.

From the docs:

"super(type[, object-or-type])" <-- python2 doc, type is required

"super([type[, object-or-type]])" <-- type is optional in python3




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: