In python why is the "object" class all in lower case instead of first letter in capitals?
<p>Before I ask this question please note that 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 doc here: <a href="https://docs.python.org/3/tutorial/classes.html" rel="nofollow">https://docs.python.org/3/tutorial/classes.html</a> and didn't find any explanation for this. So please don't freak out when you read this question.</p>

<p><strong>Question:</strong></p>

<p>In python while declaring a new class we extend the object class. For ex:</p>

<pre><code>class SomeClass(object):
    #eggs and ham etc
</code></pre>

<p>Here we notice that SomeClass has S capital because we are following the 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?</p>

<p>The short and basic answer is, class is just a keyword used by the python interpreter to know when some thing needs to be seen as a class , like how you have "def" for defining a function. Its a keyword to describe what follows is all.</p>

python class inheritance