The integer (long) type definition effectively looks like this (once the C macros are expanded):
struct _longobject { long ob_refcnt; PyTypeObject *ob_typ