On 10/01/13 23:57, eryksun wrote:
On Thu, Jan 10, 2013 at 7:11 AM, Steven D'Aprano<st...@pearwood.info> wrote:So, inside the foo() method, do this: @classmethod def foo(cls): cls.method_list[0].__get__(cls, None)()That should be cls.method_list[0].__get__(None, cls)()
Oops, yes, thanks for the correction. -- Steven _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor