def group(self):
yield self.current<EOL>for num, item in enumerate(self.iterator, <NUM_LIT:1>):<EOL><INDENT>self.current = item<EOL>if num == self.limit:<EOL><INDENT>break<EOL><DEDENT>yield item<EOL><DEDENT>else:<EOL><INDENT>self.on_going = False<EOL><DEDENT>
Yield a group from the iterable