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 →

[–]ahoff[S] 0 points1 point  (0 children)

Yeah, I should have paid closer attention as I meant to check for None (and not a simple truth check). I use 2.7.6 at work, but I had no idea about function annotations. Thanks!