summaryrefslogtreecommitdiff
path: root/Modules/_io/bufferedio.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-28 01:07:08 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-28 01:07:08 +0000
commitc249221dfda0bf05c6fab37fab9c0eb4f23c870c (patch)
treea922dedc5f1a61c5b242d08f9b00f6ba587e9452 /Modules/_io/bufferedio.c
parent0472217d433634cb7180a37045744ad4a570d500 (diff)
parent6bb91f3b6e51352f91bcf785d3f6fe160ed2cd85 (diff)
downloadcpython-git-c249221dfda0bf05c6fab37fab9c0eb4f23c870c.tar.gz
Issue #20699: Merge io bytes-like fixes from 3.5
Diffstat (limited to 'Modules/_io/bufferedio.c')
-rw-r--r--Modules/_io/bufferedio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c
index f4d179a750..cbe7425eae 100644
--- a/Modules/_io/bufferedio.c
+++ b/Modules/_io/bufferedio.c
@@ -190,8 +190,8 @@ bufferediobase_read1(PyObject *self, PyObject *args)
PyDoc_STRVAR(bufferediobase_write_doc,
"Write the given buffer to the IO stream.\n"
"\n"
- "Returns the number of bytes written, which is never less than\n"
- "len(b).\n"
+ "Returns the number of bytes written, which is always the length of b\n"
+ "in bytes.\n"
"\n"
"Raises BlockingIOError if the buffer is full and the\n"
"underlying raw stream cannot accept more data at the moment.\n");