diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 09:05:33 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 09:05:33 (GMT) |
commit | 13925008dc11f2a235627dc8c0440c0ce99171d9 (patch) | |
tree | 4746c36be25417c56cf86591bf222af49b7afdfd /Modules/_io | |
parent | e3d09ff269330bd0076e3ab9cb81907fad717a68 (diff) | |
download | cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.zip cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.gz cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.bz2 |
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/iobase.c | 2 | ||||
-rw-r--r-- | Modules/_io/stringio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c index dfc1a3a..84b560a 100644 --- a/Modules/_io/iobase.c +++ b/Modules/_io/iobase.c @@ -49,7 +49,7 @@ PyDoc_STRVAR(iobase_doc, "stream.\n" "\n" "IOBase also supports the :keyword:`with` statement. In this example,\n" - "fp is closed after the suite of the with statment is complete:\n" + "fp is closed after the suite of the with statement is complete:\n" "\n" "with open('spam.txt', 'r') as fp:\n" " fp.write('Spam and eggs!')\n"); diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c index 7e3730a..8d83f73 100644 --- a/Modules/_io/stringio.c +++ b/Modules/_io/stringio.c @@ -157,7 +157,7 @@ write_str(stringio *self, PyObject *obj) 0 lo string_size hi | |<---used--->|<----------available----------->| | | <--to pad-->|<---to write---> | - 0 buf positon + 0 buf position */ memset(self->buf + self->string_size, '\0', |