diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-19 03:15:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-19 03:15:20 (GMT) |
commit | 1fea321502631184f8c3f1580159e3f2bcc5ee4b (patch) | |
tree | a42417656b9d68d6694981e6dc3ba3c96aa2030a /Modules/_io/bytesio.c | |
parent | cee5663068a706b255de0ba45fe956ba6fb49ef2 (diff) | |
download | cpython-1fea321502631184f8c3f1580159e3f2bcc5ee4b.zip cpython-1fea321502631184f8c3f1580159e3f2bcc5ee4b.tar.gz cpython-1fea321502631184f8c3f1580159e3f2bcc5ee4b.tar.bz2 |
use NULL for the ends of tables
Diffstat (limited to 'Modules/_io/bytesio.c')
-rw-r--r-- | Modules/_io/bytesio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c index 0068cb7..add61d5 100644 --- a/Modules/_io/bytesio.c +++ b/Modules/_io/bytesio.c @@ -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[] = { |