12.3 对象和可变长度对象类型
字段
类型
用途
typedef struct {
PyObject_HEAD
PyObject *ob_ref; /* Content of the cell or NULL when empty */
} PyCellObject;字段
类型
用途
struct _longobject {
PyObject_VAR_HEAD
digit ob_digit[1];
}; /* PyLongObject */Last updated