Re:Python Best Practice Patterns
by shoyer on Saturday March 01, 2014 @12:21PM
(#7325121)
You create a list, so this expression won't shortcut like or. Or is definitely the right way to write an expression like this. Any has its place, but mostly when it's input is a generator, e.g.,
[ Parent
| on HN ]
There are no comments on this comment yet.