PyObject_HEAD = [('ob_refcnt', c_size_t), ('ob_type', c_void_p)]


class XRangeType(Structure):
    _fields_ = PyObject_HEAD + [('start', c_long), ('step', c_long), ('len',
        c_long)]
Accessing xrange internal structure