Here is an example :
my_array = array('i', [1,2,3,4,5]) my_array.remove(4) # array('i', [1, 2, 3, 5])
We see that the element 4 was removed from the array.