2 ms·
I was disappointed to see that this article did not mention python generators (`yield`) with respect to infinite series. They were introduced in 2001 by PEP 255
by AYoung010 4y ago
I was disappointed to see that this article did not mention python generators (`yield`) with respect to infinite series. They were introduced in 2001 by PEP 255 - well before this article was written. Perhaps they were excluded because of the implicit statefulness?