summaryrefslogtreecommitdiffstats
path: root/Modules/_io/bufferedio.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-02-24 03:21:48 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-02-24 03:21:48 (GMT)
commitd7c59e101f99cc06f524f48063ce96403c7a6c30 (patch)
treeb8f7b50e448a5337f23fab178295906fb2e8e870 /Modules/_io/bufferedio.c
parentccbc26a24c423f29159c04bee68439ba82f516db (diff)
parent9f10f56d132fecf2ad1b4eb2c45ae6cd23e34049 (diff)
downloadcpython-d7c59e101f99cc06f524f48063ce96403c7a6c30.zip
cpython-d7c59e101f99cc06f524f48063ce96403c7a6c30.tar.gz
cpython-d7c59e101f99cc06f524f48063ce96403c7a6c30.tar.bz2
Merge #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error. Patch by Manuel Jacob.
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 ea32a5e..943aacb 100644
--- a/Modules/_io/bufferedio.c
+++ b/Modules/_io/bufferedio.c
@@ -1822,7 +1822,7 @@ bufferedwriter_init(buffered *self, PyObject *args, PyObject *kwds)
self->ok = 0;
self->detached = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:BufferedReader", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:BufferedWriter", kwlist,
&raw, &buffer_size)) {
return -1;
}
@@ -2451,7 +2451,7 @@ bufferedrandom_init(buffered *self, PyObject *args, PyObject *kwds)
self->ok = 0;
self->detached = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:BufferedReader", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:BufferedRandom", kwlist,
&raw, &buffer_size)) {
return -1;
}