code: def _strip_commas(cls, kw):
          "Strip out any leading/training commas from the token"
          kw = kw[:-1] if kw[-1]==',' else kw
          return kw[1:] if kw[0]==',' else kf _strip_commas(cls, kw):
          "Strip out any leading/training commas from the token"
          kw = kw[:-1] if kw[-1]==',' else kw
          return kw[1:] if kw[0]==',' else kw
docs: Strip out any leading/training commas from the token