Object methods of same class have same id?
<pre><code>class parent(object):
   @classmethod
   def a_class_method(cls):
     print "in class method %s" % cls

   @staticmethod
   def a_static_method():
     print "static method"

   def useless_func(self):
     pass


 p1, p2 = parent(),parent()

 id(p1) == id(p2) // False

 id(p1.useless_func) == id(p2.useless_func) // True
</code></pre>

<p>In the above code, I dont understand why is the useless_func has same id when it belongs to two different objects?</p>
