Hacker News new | ask | show | jobs
by pansa2 184 days ago
If valid `data` can be zero, an empty string, or anything else “falsy”, then your version won’t handle those values correctly. It treats them the same as `None`, i.e. not found.
1 comments

:facepalm: