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

   class M(object):
is a new-style class in Python 2.x, in which it's the correct syntax: https://docs.python.org/2/glossary.html#term-new-style-class

It's different in Python 3 but that doesn't matter because Python 3 is largely irrelevant.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: