Message173595
re module documentation says:
Match Objects always have a boolean value of :const:`True`, so that you can test
whether e.g. :func:`match` resulted in a match with a simple if statement.
which is confusing - matched objects have boolean value True, doesn't matched - False. |
|
Date |
User |
Action |
Args |
2012-10-23 11:59:09 | vrutsky | set | recipients:
+ vrutsky, docs@python |
2012-10-23 11:59:09 | vrutsky | set | messageid: <1350993549.54.0.0789320233606.issue16304@psf.upfronthosting.co.za> |
2012-10-23 11:59:09 | vrutsky | link | issue16304 messages |
2012-10-23 11:59:09 | vrutsky | create | |
|