diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-18 07:20:18 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-18 07:20:18 +0300 |
commit | fd7f7b2c0a98870df7840ce96303817c8e76da29 (patch) | |
tree | 7804d36c395ff355abcd490a9785c95071cbc027 /Modules/_io/_iomodule.c | |
parent | 8db8037b1e1ab3f4678c985b46eb4bf004ec38cc (diff) | |
download | cpython-fd7f7b2c0a98870df7840ce96303817c8e76da29.tar.gz |
#15796: Fix \n in readline docstring. Patch by Serhiy Storchaka.
Diffstat (limited to 'Modules/_io/_iomodule.c')
-rw-r--r-- | Modules/_io/_iomodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c index 59876791d8..e18aec6686 100644 --- a/Modules/_io/_iomodule.c +++ b/Modules/_io/_iomodule.c @@ -264,7 +264,7 @@ PyDoc_STRVAR(open_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" |