4 ms·
He's defending against None with the assert l and len(l) bit, or at least that's what I'd assume.
by durin42 16y ago
He's defending against None with the assert l and len(l) bit, or at least that's what I'd assume.
- swolchok 16y agoIf he's defending against None, he should assert l is not None and len(l) == 1