2 ms·
No, what you really want is for BeautifulSoup to do the sane thing and return an empty collection instead of None. It makes no sense to special-case the empty r
by jey 16y ago
No, what you really want is for BeautifulSoup to do the sane thing and return an empty collection instead of None. It makes no sense to special-case the empty resultset case to return None.