@author jackzhenguo @desc @date 2019/2/25
In [31]: def f(): ...: print('i\'m f') In [32]: def g(): ...: print('i\'m g') In [33]: [f,g][1]() i'm g
创建函数对象的list,根据想要调用的index,方便统一调用。