mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
use NULL for the ends of tables
This commit is contained in:
parent
cee5663068
commit
1fea321502
6 changed files with 12 additions and 12 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue