3 ms·
Your code is brittle; it'll fail when I pass it a generator expression, and for no good reason.
by icebraining 11y ago
Your code is brittle; it'll fail when I pass it a generator expression, and for no good reason.
- crdoconnor 11y agoIf I'm checking the length of what I think is a list and it turned out to be a generator I WANT it to fail.