use NULL for the ends of tables

This commit is contained in:
Benjamin Peterson 2009-04-19 03:15:20 +00:00
parent cee5663068
commit 1fea321502
6 changed files with 12 additions and 12 deletions

View file

@ -684,7 +684,7 @@ bytesio_clear(BytesIOObject *self)
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[] = {