iterator is a more general concept: any object whose class has a __next__ method ( next in Python 2) and an __iter__ method that does return self .
確定! 回上一頁