[New-bugs-announce] [issue6679] obsolete paragraph in re doc for re.sub
Mitchell Model
report at bugs.python.org
Mon Aug 10 22:10:38 CEST 2009
New submission from Mitchell Model <mlm at acm.org>:
The documentation of re.sub states:
"The pattern may be a string or an RE object; if you need to specify
regular expression flags, you must use a RE object, or use embedded
modifiers in a pattern; for example, sub("(?i)b+", "x", "bbbb BBBB")
returns 'x x'."
but there is now a flags argument so that paragraph should be deleted.
----------
assignee: georg.brandl
components: Documentation
messages: 91461
nosy: MLModel, georg.brandl
severity: normal
status: open
title: obsolete paragraph in re doc for re.sub
versions: Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6679>
_______________________________________
More information about the New-bugs-announce
mailing list