[docs] Bug in "re.sub" docs
Sandro Tosi
sandro.tosi at gmail.com
Mon Feb 28 20:32:45 CET 2011
Hi Thomas,
thanks for your email.
On Sat, Feb 26, 2011 at 22:28, Thomas Waldmann <tw-public at gmx.de> wrote:
> http://docs.python.org/library/re.html#re.sub
>
> a) flags param seems to be not there in the implementation
could you please give us more details? are you talking about a
specific method (or a set of them)? If so, what is it?
> b) "That is, \n is converted to a single newline character, \r is
> converted to a linefeed, and so forth."
>
> Obviously, \r is NOT linefeed, but carriage return.
You're right about that (I'll prepare a patch once a) is clear).
Cheers.
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the docs
mailing list