Explanation for shuffle in Dataloader

for the explanation of shuffle as an argument to Dataloader it’s mentioned that:
’ set to True to have the data reshuffled at every epoch
shouldn’t it be at every iteration or I’m missing something?

The indices will be shuffled for the complete dataset once per epoch and then used to create batches.
Each batch will thus contain random samples and I think the documentation explains it correctly.