I've tried searching online for this question but because the word "object" is so common I get lots of unrelated results instead of what I'm looking for. I also looked through the official docs here: https://docs.python.org/3/tutorial/classes.html and didn't find any explanation for this. So please don't freak out when you read this question.
Question:
In Python while declaring a new class we extend the object class. For ex:
class SomeClass(object):
#eggs and ham etc
Here we notice that SomeClass has a capital S because we are following camel case. However, the class that we are inheriting from - "object" doesn't seem to follow this naming convention. Why is the object class in all lower case?
Exceptionis a built-in class with theebeing capitalE. I assume Python followed the lower-case letter convention for datatypes and I'm not sure about that to confirm.