[docs] [issue16304] re: Match Objects always have a boolean value of True

Jan Duzinkiewicz report at bugs.python.org
Fri Nov 2 10:11:57 CET 2012


Jan Duzinkiewicz added the comment:

I agree this is unclear - If Match object always have a boolean value of True, it actually prevents me from using simple if statement - what's the point of "if True:" statement? - so the remark that matching functions do not always return match objects has some value. I've submitted a patch.

----------
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org/file27838/16304.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16304>
_______________________________________


More information about the docs mailing list