parameters: (value, stripchars)
return_statement: return "".join(_)
docstring: value,chars sequence like,return unique string
      >>>unique("111ttt11tt")
      1t1t
      >>unique(['\d','\d','s','s'],"\d")
      \dss
docstring_summary: value,chars sequence like,return unique string
      >>>unique("111ttt11tt")
      1t1t
      >>unique(['\d','\d','s','s'],"\d")
      \dss
docstring_tokens: value chars sequence like return unique string >>> unique ( 111ttt11tt ) 1t1t >> unique ( [ \ d \ d s s ] \ d ) \ dss
function: def unique(value, stripchars):
      """
      value,chars sequence like,return unique string
      >>>unique("111ttt11tt")
      1t1t
      >>unique(['\d','\d','s','s'],"\d")
      \dss
      """
      _ = []
      #v = True if stripchars else False
      v = not not stripchars
      for t in value :
          if t not in _[-1:] or (v and t not in stripchars):
              _.append(t)
      return "".join(_)
function_tokens: def unique ( value , stripchars ) : _ = [ ] #v = True if stripchars else False v = not not stripchars for t in value : if t not in _ [ - 1 : ] or ( v and t not in stripchars ) : _ . append ( t ) return "" . join ( _ )