make_list_of_ints#

make_list_of_ints(sequence)[源代码]#

从整数序列返回整数列表。

序列的所有元素都必须满足int(element)==element,否则将引发valueerror。序列迭代一次。

如果序列是一个列表,则非int值将替换为int。所以,没有创建新的列表