Message231090
The current wording of the passage “Match objects always have a boolean value of True” implies that the value compares equal to the ‘True’ constant. That implication is incorrect.
I disagree with R. David Murray; if we want to say that a value is considered true *in a boolean context*, that's very different from saying it has the “True” value.
Georg, “evaluates true in a boolean context” has the meaning you're seeking; it is chosen precisely because it does *not* imply equality to the True constant. |
|
Date |
User |
Action |
Args |
2014-11-12 17:45:55 | bignose | set | recipients:
+ bignose, georg.brandl, r.david.murray, docs@python, crkirkwood |
2014-11-12 17:45:55 | bignose | set | messageid: <1415814355.25.0.0850788834647.issue22843@psf.upfronthosting.co.za> |
2014-11-12 17:45:55 | bignose | link | issue22843 messages |
2014-11-12 17:45:55 | bignose | create | |
|