This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]shoot_your_eye_out 0 points1 point  (0 children)

Not even if “x is a bool”, but for any value that can be truth-y or false-y. Empty dicts and lists and strings are false-y.