Why isn't the 'len' function inherited by dictionaries and lists in Python
<p>example:</p>

<pre><code>a_list = [1, 2, 3]
a_list.len() # doesn't work
len(a_list) # works
</code></pre>

<p>Python being (very) object oriented, I don't understand why the 'len' function isn't inherited by the object. 
Plus I keep trying the wrong solution since it appears as the logical one to me</p>
