From 9c4756ea265b5ebd71c9ae59f3673c7cecb6f060 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 26 May 2008 13:22:05 +0000 Subject: Renamed PyBytes to PyByteArray --- Modules/_sqlite/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/_sqlite/module.c') diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index 2284eaa020..1f8c63f8dc 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -137,7 +137,7 @@ static PyObject* module_register_adapter(PyObject* self, PyObject* args, PyObjec /* a basic type is adapted; there's a performance optimization if that's not the case * (99 % of all usages) */ if (type == &PyLong_Type || type == &PyFloat_Type - || type == &PyUnicode_Type || type == &PyBytes_Type) { + || type == &PyUnicode_Type || type == &PyByteArray_Type) { pysqlite_BaseTypeAdapted = 1; } -- cgit v1.2.1