[issue6679] obsolete paragraph in re doc for re.sub

2009-08-13 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74365. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue6679] obsolete paragraph in re doc for re.sub

2009-08-10 Thread Mitchell Model
New submission from Mitchell Model : 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", " ") returns 'x x'."