Re: [Tutor] iretator.send
Christopher King wrote: Is there any syntax that uses the send method of an iterator? No. -- Steven ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] iretator.send
Dear tutor dudes, I know that a for loop uses a an iterators next method in this way for variable in iterator: execute_code(variable) is equivalent to while True: try: variable = iterator.next() except StopIteration: break else: execute_code(variable)