Calling a method using an argument
Diez B. Roggisch
deetsNOSPAM at web.de
Thu Feb 3 10:56:05 EST 2005
Previous message (by thread):
Calling a method using an argument
Next message (by thread):
Calling a method using an argument
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
def test(self,arg): return getattr(self, arg) -- Regards, Diez B. Roggisch
Previous message (by thread):
Calling a method using an argument
Next message (by thread):
Calling a method using an argument
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list