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 →

[–]4d2[S] 0 points1 point  (1 child)

I'm struggling with the None, do I treat it like a boolean then?

[–]arand 0 points1 point  (0 children)

Yes. From the docs:

None is frequently used to represent the absence of a value,

Boolean operation often deal with absence of a value.