nl: if to is not an six.string_types instance raise an error with message string '"to" argument must be a list or tuple'.
code: assert not isinstance ( to , six . string_types ) , '"to" argument must be a list or tuple'