Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/module.c @ 47300:96b34263e448
Renamed PyBytes to PyByteArray
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 26 May 2008 13:22:05 +0000 |
| parents | e06e08e8fdce |
| children | 94f64f11fdd0 |
line wrap: on
line diff
--- a/Modules/_sqlite/module.c Mon May 26 13:16:12 2008 +0000 +++ b/Modules/_sqlite/module.c Mon May 26 13:22:05 2008 +0000 @@ -137,7 +137,7 @@ /* 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; }
