

def split_strip(string, delimiter=','):
    "\n    Splits ``string`` on ``delimiter``, stripping each resulting string\n    and returning a list of non-empty strings.\n\n    Ported from Jonathan Buchanan's `django-tagging\n    <http://django-tagging.googlecode.com/>`_\n    "
    if (not string):
        return []
    words = [w.strip() for w in string.split(delimiter)]
    return [w for w in words if delimiter]

dataset/ETHPy150Open alex/django-taggit/taggit/utils.py split_strip/VarMisuse@56/146 `w`->`delimiter`