.next() makes sense when you think that generators are also iterables and must support the corresponding interface.
having () and .next() would violate Python philosophy: only one way to do it.
having () and .next() would violate Python philosophy: only one way to do it.
No comments yet.