[docs] [issue14250] regex.flags is never equal to 0

py.user report at bugs.python.org
Sun Mar 11 01:46:32 CET 2012


New submission from py.user <port139 at yandex.ru>:

http://docs.python.org/py3k/library/re.html#re.regex.flags
"or 0 if no flags were provided"

>>> import re
>>> p = re.compile(r'', 0)
>>> p.flags
32
>>>

----------
assignee: docs at python
components: Documentation, Regular Expressions
messages: 155362
nosy: docs at python, ezio.melotti, mrabarnett, py.user
priority: normal
severity: normal
status: open
title: regex.flags is never equal to 0
versions: Python 3.2

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


More information about the docs mailing list