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/bufferedio.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/bufferedio.c')
-rw-r--r-- | Modules/_io/bufferedio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c index 4b654a0..3d175c7 100644 --- a/Modules/_io/bufferedio.c +++ b/Modules/_io/bufferedio.c @@ -1414,7 +1414,7 @@ static PyGetSetDef BufferedReader_getset[] = { {"closed", (getter)BufferedIOMixin_closed_get, NULL, NULL}, {"name", (getter)BufferedIOMixin_name_get, NULL, NULL}, {"mode", (getter)BufferedIOMixin_mode_get, NULL, NULL}, - {0} + {NULL} }; @@ -1768,7 +1768,7 @@ static PyGetSetDef BufferedWriter_getset[] = { {"closed", (getter)BufferedIOMixin_closed_get, NULL, NULL}, {"name", (getter)BufferedIOMixin_name_get, NULL, NULL}, {"mode", (getter)BufferedIOMixin_mode_get, NULL, NULL}, - {0} + {NULL} }; @@ -2021,7 +2021,7 @@ static PyMethodDef BufferedRWPair_methods[] = { static PyGetSetDef BufferedRWPair_getset[] = { {"closed", (getter)BufferedRWPair_closed_get, NULL, NULL}, - {0} + {NULL} }; PyTypeObject PyBufferedRWPair_Type = { @@ -2157,7 +2157,7 @@ static PyGetSetDef BufferedRandom_getset[] = { {"closed", (getter)BufferedIOMixin_closed_get, NULL, NULL}, {"name", (getter)BufferedIOMixin_name_get, NULL, NULL}, {"mode", (getter)BufferedIOMixin_mode_get, NULL, NULL}, - {0} + {NULL} }; |