Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/statement.c @ 47300:96b34263e448
Renamed PyBytes to PyByteArray
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 26 May 2008 13:22:05 +0000 |
| parents | 031dfe455585 |
| children | 23ab586c427a |
line wrap: on
line diff
--- a/Modules/_sqlite/statement.c Mon May 26 13:16:12 2008 +0000 +++ b/Modules/_sqlite/statement.c Mon May 26 13:22:05 2008 +0000 @@ -167,7 +167,7 @@ } if (PyLong_CheckExact(obj) || PyFloat_CheckExact(obj) - || PyUnicode_CheckExact(obj) || PyBytes_CheckExact(obj)) { + || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { return 0; } else { return 1;
