3 ms·
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:
by Erwin 7y ago
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.