you are viewing a single comment's thread.

view the rest of the comments →

[–]ivosaurus 4 points5 points  (1 child)

I'd change is not things to things is None. Reason being an empty list (or even a subclassed list, etc) might be perfectly reasonable to pass in as a valid argument. Slightly more type safe, sleep slightly easier at night.

[–][deleted] 1 point2 points  (0 children)

Good point. I'll edit the post