Before being added in Python 3.10, itertools.pairwise was commonly implemented in terms of itertools.tee. Isn't this elegant?
2 likes 1 replies
?
Before being added in Python 3.10, itertools.pairwise was commonly implemented in terms of itertools.tee. Isn't this elegant?
2 likes 1 replies