Chapter 7 - what is *?

Why sometimes a function is passed with a * sign before it

From the notebook of ch 7: (page 242 in the book)

def get_dls(bs, size):
dblock = DataBlock(blocks=(ImageBlock, CategoryBlock),
batch_tfms[*aug_transforms(size=size, min_scale=0.75),
return dblock.dataloaders(path, bs=bs)

what is the meaning/role of the “*” before the aug_transforms and image_stats ?
(it reminds me pointers in C but not clear if/how they are used here)

I found that the * is “unpacking” a list of object to the individual object stored in the list

Hope this helps someone :slight_smile: