Author vrutsky
Recipients docs@python, vrutsky
Date 2012-10-23.11:59:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350993549.54.0.0789320233606.issue16304@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-10-23 11:59:09vrutskysetrecipients: + vrutsky, docs@python
2012-10-23 11:59:09vrutskysetmessageid: <1350993549.54.0.0789320233606.issue16304@psf.upfronthosting.co.za>
2012-10-23 11:59:09vrutskylinkissue16304 messages
2012-10-23 11:59:09vrutskycreate