summaryrefslogtreecommitdiffstats
path: root/Modules/_io/_iomodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-12 02:07:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-12 02:07:12 (GMT)
commit680bf1afe89c864d6cf04a37ce1b3b2c1d60072f (patch)
tree8d688b42e8389e539773d4ab158020b0890272d7 /Modules/_io/_iomodule.c
parent2c3ac6b8757f8fc1dacf6aeaa9a9518d8729d52b (diff)
downloadcpython-680bf1afe89c864d6cf04a37ce1b3b2c1d60072f.zip
cpython-680bf1afe89c864d6cf04a37ce1b3b2c1d60072f.tar.gz
cpython-680bf1afe89c864d6cf04a37ce1b3b2c1d60072f.tar.bz2
move to a naming scheme with all lowercase and underscores
Diffstat (limited to 'Modules/_io/_iomodule.c')
-rw-r--r--Modules/_io/_iomodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c
index ba653d6..02776f3 100644
--- a/Modules/_io/_iomodule.c
+++ b/Modules/_io/_iomodule.c
@@ -94,7 +94,7 @@ PyDoc_STRVAR(module_doc,
*/
static int
-BlockingIOError_init(PyBlockingIOErrorObject *self, PyObject *args,
+blockingioerror_init(PyBlockingIOErrorObject *self, PyObject *args,
PyObject *kwds)
{
PyObject *myerrno = NULL, *strerror = NULL;
@@ -123,7 +123,7 @@ BlockingIOError_init(PyBlockingIOErrorObject *self, PyObject *args,
return 0;
}
-static PyMemberDef BlockingIOError_members[] = {
+static PyMemberDef blockingioerror_members[] = {
{"characters_written", T_PYSSIZET, offsetof(PyBlockingIOErrorObject, written), 0},
{NULL} /* Sentinel */
};
@@ -158,14 +158,14 @@ static PyTypeObject _PyExc_BlockingIOError = {
0, /* tp_iter */
0, /* tp_iternext */
0, /* tp_methods */
- BlockingIOError_members, /* tp_members */
+ blockingioerror_members, /* tp_members */
0, /* tp_getset */
0, /* tp_base */
0, /* tp_dict */
0, /* tp_descr_get */
0, /* tp_descr_set */
0, /* tp_dictoffset */
- (initproc)BlockingIOError_init, /* tp_init */
+ (initproc)blockingioerror_init, /* tp_init */
0, /* tp_alloc */
0, /* tp_new */
};