Unable to understand following code

I am unable to understand how the highlighted line in following code works

I tried to run it seperately but i get this error.

If row['PromoInterval'] has a string value its words are split using , and converted into a list, if it doesn’t have a value we select an empty string '' and convert it into a list using split(',')