Do Python iterators formally require an __iter__ method?

Pubblicato il: 28 dicembre 2022
sul canale di: The Python Oracle
9
0

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Magical Minnie Puzzles

--

Chapters
00:00 Question
01:22 Accepted answer (Score 4)
02:40 Thank you

--

Full question
https://stackoverflow.com/questions/6...

Question links:
[this]: https://www.programiz.com/python-prog...
[this]: https://stackoverflow.com/questions/1...
[this]: https://treyhunner.com/2016/12/python...
[official Python tutorial section on iterators]: https://docs.python.org/3/tutorial/cl...

Accepted answer links:
[data model documentation]: https://docs.python.org/3/library/std...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/l...

--

Tags
#python #iterator

#avk47


In questa pagina del sito puoi guardare il video online Do Python iterators formally require an __iter__ method? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The Python Oracle 28 dicembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 9 volte e gli è piaciuto 0 spettatori. Buona visione!