Ray Jones wrote: > source = source.remove('') list.remove() modifies the list in-place and therefore by convention returns None: >>> source = ["one", "", "three"] >>> source.remove("") >>> source ['one', 'three']