Y
Hacker News
new
|
ask
|
show
|
jobs
by
keenerd
4486 days ago
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.