mirror of https://github.com/python/cpython
Damn - the sentinel was missing. And fix another silly mistake.
This commit is contained in:
parent
ecc3e67b98
commit
07347d6efc
|
@ -229,7 +229,8 @@ CField_get_size(PyObject *self, void *data)
|
|||
|
||||
static PyGetSetDef CField_getset[] = {
|
||||
{ "offset", CField_get_offset, NULL, "offset in bytes of this field" },
|
||||
{ "size", CField_get_offset, NULL, "size in bytes of this field" },
|
||||
{ "size", CField_get_size, NULL, "size in bytes of this field" },
|
||||
{ NULL, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue