Message155332
Chaining comparison operators inserts implicit "and" conditions:
a OP b OP c OP d
is equivalent to
(a OP b) and (b OP c) and (c OP d)
This is most useful with ==, <, <= and so forth, but "in" and "is" also count as comparison ops and have the same precedence. |
|
Date |
User |
Action |
Args |
2012-03-10 18:11:07 | georg.brandl | set | recipients:
+ georg.brandl, Damjan.Košir |
2012-03-10 18:11:07 | georg.brandl | set | messageid: <1331403067.24.0.38318710951.issue14247@psf.upfronthosting.co.za> |
2012-03-10 18:11:06 | georg.brandl | link | issue14247 messages |
2012-03-10 18:11:06 | georg.brandl | create | |
|