<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I have a question. Suppose I do the following:<br><br>def myfunc(a,b):<br> return a+b<br><br>myfunc2=myfunc<br><br>is there anyway to find all of the references to myfunc? That is, can I find out all of the functions that may be aliased to myfunc?<br><br>second question:<br><br><br><br>class MyClass(object):<br> def __init__(a,b):<br> self.a=a<br> self.b=b<br> def myfunc(self):<br> return self.a+self.b<br><br>myclass=MyClass(3,4)<br>myclass.myfunc2=myclass.myfunc<br><br>Is there any way to find all the references to myclass.myfunc--in this case,<br>myclass.myfunc2?<br><br>Thanks,<br>William<br><br>is there a way to <br><br><br></td></tr></table><br>