test_func.py
Go to the documentation of this file.
00001 class aa:
00002     def __init__(self):
00003         pass
00004 
00005     def run(self):
00006         self.change_detect(self.a, ['hello'])
00007 
00008     def a(self, b):
00009         print b
00010     
00011     def change_detect(self, f, args):
00012         print len(args), args.__class__
00013         print 'before'
00014         f(*args)
00015         print 'after'
00016 
00017 m = aa()
00018 m.run()


hai_sandbox
Author(s): Hai Nguyen
autogenerated on Wed Nov 27 2013 11:46:56