S
Stef Mientki
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
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