Mercurial > cpython-lru_cache-weakref
diff Modules/_bytesio.c @ 46722:831a30cd23a2
Fixed bytes naming in the docstrings of _bytesio.c.
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Thu, 08 May 2008 01:34:41 +0000 |
| parents | 38b94c097a55 |
| children | 23ab586c427a |
line wrap: on
line diff
--- a/Modules/_bytesio.c Thu May 08 01:20:25 2008 +0000 +++ b/Modules/_bytesio.c Thu May 08 01:34:41 2008 +0000 @@ -167,7 +167,7 @@ } PyDoc_STRVAR(getval_doc, -"getvalue() -> string.\n" +"getvalue() -> bytes.\n" "\n" "Retrieve the entire contents of the BytesIO object."); @@ -369,7 +369,7 @@ } PyDoc_STRVAR(readinto_doc, -"readinto(bytes) -> int. Read up to len(b) bytes into b.\n" +"readinto(bytearray) -> int. Read up to len(b) bytes into b.\n" "\n" "Returns number of bytes read (0 for EOF), or None if the object\n" "is set not to block as has no data to read."); @@ -517,7 +517,7 @@ } PyDoc_STRVAR(write_doc, -"write(str) -> int. Write string str to file.\n" +"write(bytes) -> int. Write bytes to file.\n" "\n" "Return the number of bytes written.");
