The paradox of itertools.tee

Talk 25 min

Rodrigo Girão Serrão
The module `itertools` provides 20 tools. There's 19 iterables and then there's `tee`... But what does `tee` do and why is it the only thing in the module `itertools` that's not an iterable? In this talk you will understand what `tee` does and when to use it, but most importantly, you will understand the paradox behind `tee`... See, the thing is that `tee` seems to go against the laws of iterators...