正确的理解是: iterable 是一个工厂函数,通过显式的调用 iter 函数或者调用其 __iter__() 方法或者使用 for 循环来获得这个工厂的产品:一个 iterator 对象。 这里需要 ...
確定! 回上一頁