summaryrefslogtreecommitdiff
path: root/Modules/_io/textio.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-16 13:14:06 -0400
committerBrett Cannon <brett@python.org>2013-06-16 13:14:06 -0400
commit645ab68f25457b24f2dadfa3e6911cebac30d33e (patch)
tree2f319c658d94a9cb74e366b9bb4d66a4e2a1a733 /Modules/_io/textio.c
parente4f41deccf94ccc798b1eb1f44657ade66669a60 (diff)
parentf567727abcba9d3b56fd2d0254050eff23535d1a (diff)
downloadcpython-git-645ab68f25457b24f2dadfa3e6911cebac30d33e.tar.gz
merge
Diffstat (limited to 'Modules/_io/textio.c')
-rw-r--r--Modules/_io/textio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index 8bd9ba1122..4d0009da5b 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -642,8 +642,9 @@ PyDoc_STRVAR(textiowrapper_doc,
"encoding gives the name of the encoding that the stream will be\n"
"decoded or encoded with. It defaults to locale.getpreferredencoding(False).\n"
"\n"
- "errors determines the strictness of encoding and decoding (see the\n"
- "codecs.register) and defaults to \"strict\".\n"
+ "errors determines the strictness of encoding and decoding (see\n"
+ "help(codecs.Codec) or the documentation for codecs.register) and\n"
+ "defaults to \"strict\".\n"
"\n"
"newline controls how line endings are handled. It can be None, '',\n"
"'\\n', '\\r', and '\\r\\n'. It works as follows:\n"