你是这个意思吗
def perform( fun, *args ): fun( *args )def action1( args ): somethingdef action2( args ): somethingperform( action1 )perform( action2, p )perform( action3, p, r )
欢迎分享,转载请注明来源:内存溢出
你是这个意思吗
def perform( fun, *args ): fun( *args )def action1( args ): somethingdef action2( args ): somethingperform( action1 )perform( action2, p )perform( action3, p, r )
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)