summaryrefslogtreecommitdiffstats
path: root/Modules/_io/textio.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-18 04:20:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-18 04:20:18 (GMT)
commit16d2b478372ba68923f8e325c75202416aaeaa93 (patch)
tree9a8565bea57425b5cba86abb04229cf6b7bd19e1 /Modules/_io/textio.c
parent26e5878d6fa8383acd2544459993502f91a1713a (diff)
downloadcpython-16d2b478372ba68923f8e325c75202416aaeaa93.zip
cpython-16d2b478372ba68923f8e325c75202416aaeaa93.tar.gz
cpython-16d2b478372ba68923f8e325c75202416aaeaa93.tar.bz2
#15796: Fix \n in readline docstring. Patch by Serhiy Storchaka.
Diffstat (limited to 'Modules/_io/textio.c')
-rw-r--r--Modules/_io/textio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index 4904842..2fbb8f3 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -635,7 +635,7 @@ PyDoc_STRVAR(textiowrapper_doc,
"\n"
"* On output, if newline is None, any '\\n' characters written are\n"
" translated to the system default line separator, os.linesep. If\n"
- " newline is '' or '\n', no translation takes place. If newline is any\n"
+ " newline is '' or '\\n', no translation takes place. If newline is any\n"
" of the other legal values, any '\\n' characters written are translated\n"
" to the given string.\n"
"\n"