diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 11:38:59 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 11:38:59 +0200 |
commit | b88ed1549e76fadf161227d15cc307f0e8b94c59 (patch) | |
tree | 7fea10f9a15064480554f093da39f361df463c61 /Modules/_io/stringio.c | |
parent | c8a03349d174379f051ab93d02a2918a15269e00 (diff) | |
parent | 3b3499ba69341a49fc842ce0d4a2f66fcb249a04 (diff) | |
download | cpython-git-b88ed1549e76fadf161227d15cc307f0e8b94c59.tar.gz |
#11565: Merge with 3.2.
Diffstat (limited to 'Modules/_io/stringio.c')
-rw-r--r-- | Modules/_io/stringio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c index 5bb80cb050..c9d14b114b 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', |