Closed KleinerNull closed 8 years ago
Got rid of the useless clojure, so the code is simpler also this part is working also on python3, because of the differences of calling 'next' in python2 and python3. The code is pretty much from this reddit thread: https://www.reddit.com/r/learnpython/comments/4u9b2z/calling_next_on_a_functoin_that_should_return_a/
I saw that discussion and just want to change this code. But I am very interested why this clojure/generator thing happend!
Great, thanks! I will explain it tomorrow, then I have more time for it again :)
Got rid of the useless clojure, so the code is simpler also this part is working also on python3, because of the differences of calling 'next' in python2 and python3. The code is pretty much from this reddit thread: https://www.reddit.com/r/learnpython/comments/4u9b2z/calling_next_on_a_functoin_that_should_return_a/
I saw that discussion and just want to change this code. But I am very interested why this clojure/generator thing happend!