hello,

if I pass a class method to a function,
is it possible to determine the class instance in that  function ?

class test ( object ) :
 def My_Method ( self ) :
   return 22

def do_something ( parameter ) :
 # here I want to determine My_Instance

My_Instance = test ()
do something ( My_Instance.My_Method )


thanks
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to