News for hackers. Stuff that matters.
Re:What's Coming in Python 3.8 by Erwin on Wednesday July 17, 2019 @08:00PM (#20465332)
Prior to that you could use the special two-argument version of the `iter` function which makes it act completely different than the single argument version:

    for html_element in iter(scrape_element, None):
this calls scrape_element() until it returns None, returning each value.

There are no comments on this comment yet.