func (t *Type) Alloc(n int64) (*Base, error) { ret := C.typeAlloc(t.c(), C.Py_ssize_t(n)) return obj2ObjErr(ret) }
func (t *Type) Alloc(n int64) (Object, error) { ret := C.typeAlloc(c(t), C.Py_ssize_t(n)) return obj2ObjErr(ret) }