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

Counterpoint, object.next() was removed from python3 and replaced with next(object). It both modifies state and returns data. I really prefered next() as a method since it does change the state of a generator.


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

Search: