I have a question.  Suppose I do the following:

def myfunc(a,b):
  return a+b

myfunc2=myfunc

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?

second question:



class MyClass(object):
 def __init__(a,b):
   self.a=a
   self.b=b
  def myfunc(self):
    return self.a+self.b

myclass=MyClass(3,4)
myclass.myfunc2=myclass.myfunc

Is there any way to find all the references to myclass.myfunc--in this case,
myclass.myfunc2?

Thanks,
William

is there a way to 





      
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to