結果 : generic function should use type parameters python