Author r.david.murray
Recipients docs@python, r.david.murray, serhiy.storchaka, vrutsky
Date 2012-10-23.12:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350996070.81.0.742101014814.issue16304@psf.upfronthosting.co.za>
In-reply-to
Content
Since the quoted paragraph is distant from where the information about the ``None`` return is documented, the wording of the quoted paragraph can be improved to make this clearer:

Match Objects always have a boolean value of ``True``.  Since ``None`` (which has a boolean value of ``False``) is returned when there is no match, you can test whether there was a match with a simple ``if`` statement.
History
Date User Action Args
2012-10-23 12:41:10r.david.murraysetrecipients: + r.david.murray, docs@python, vrutsky, serhiy.storchaka
2012-10-23 12:41:10r.david.murraysetmessageid: <1350996070.81.0.742101014814.issue16304@psf.upfronthosting.co.za>
2012-10-23 12:41:10r.david.murraylinkissue16304 messages
2012-10-23 12:41:10r.david.murraycreate