[:]
is the array slice syntax for every element in the array.
This answer here goes more in depth of the general uses: How slicing in Python works
del arr # Deletes the array itself
del arr[:] # Deletes all the elements in the array
del arr[2] # Deletes the third element in the array
del arr[1:] # etc..