summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-12 15:23:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-12 15:23:35 (GMT)
commit994c7f76a3cffd123183b2437580d3d4f09ab197 (patch)
tree2cb55213f289e4920026946d0603ce3488b85f22 /Modules
parentc216c4869921cb9ade491704f945d6f1401ccbcc (diff)
parent6c14f231005a2a3a63bd4b0157c908e94bd834ac (diff)
downloadcpython-994c7f76a3cffd123183b2437580d3d4f09ab197.zip
cpython-994c7f76a3cffd123183b2437580d3d4f09ab197.tar.gz
cpython-994c7f76a3cffd123183b2437580d3d4f09ab197.tar.bz2
merge 3.4 (#22849)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/textio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index 177e0f3..0f53b0f 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -1061,7 +1061,7 @@ textiowrapper_init(textio *self, PyObject *args, PyObject *kwds)
}
/* Finished sorting out the codec details */
- Py_DECREF(codec_info);
+ Py_CLEAR(codec_info);
self->buffer = buffer;
Py_INCREF(buffer);