Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Python was created in 1991; I imagine the "yield" keyword appeared either right then or not much later!

Nope. It was introduced 10 years later, as part of PEP 255, released in Python 2.2.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: