Mercurial > cpython-lru_cache-weakref
diff Modules/_io/bytesio.c @ 53259:b7b8fbd010ca
use NULL for the ends of tables
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 19 Apr 2009 03:15:20 +0000 |
| parents | 68a9e6e38afa |
| children | fcbcd931338b |
line wrap: on
line diff
--- a/Modules/_io/bytesio.c Sun Apr 19 03:14:50 2009 +0000 +++ b/Modules/_io/bytesio.c Sun Apr 19 03:15:20 2009 +0000 @@ -684,7 +684,7 @@ static PyGetSetDef bytesio_getsetlist[] = { {"closed", (getter)bytesio_get_closed, NULL, "True if the file is closed."}, - {0}, /* sentinel */ + {NULL}, /* sentinel */ }; static struct PyMethodDef bytesio_methods[] = {
