News for hackers. Stuff that matters.
Re:Python Best Practice Patterns by keenerd on Sunday March 02, 2014 @10:55AM (#7329501)
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.

There are no comments on this comment yet.