original_docstring: Function to split string-delimited arguments in a string without
      being fooled by those that occur in function calls.
      Written by Pearu Peterson. Adapted by Rob Clewley to accept different
      braces.
docstring: Function to split string-delimited arguments in a string without
  being fooled by those that occur in function calls.
  Written by Pearu Peterson. Adapted by Rob Clewley to accept different
  braces.
docstring_tokens: Function to split string - delimited arguments in a string without being fooled by those that occur in function calls . Written by Pearu Peterson . Adapted by Rob Clewley to accept different braces .
code: def splitargs(da, lbraces=['('], rbraces=[')']):
      """Function to split string-delimited arguments in a string without
      being fooled by those that occur in function calls.
      Written by Pearu Peterson. Adapted by Rob Clewley to accept different
      braces."""
      if alltrue([da.find(lbrace)<0 for lbrace in lbraces]):
          return da.split(',')
      ll=[];o='';ii=0
      for i in da:
          if i==',' and ii==0:
              ll.append(o)
              o=''
          else:
              if i in lbraces: ii=ii+1
              if i in rbraces: ii=ii-1
              o=o+i
      ll.append(o)
      return ll
code_tokens: def splitargs ( da , lbraces = [ '(' ] , rbraces = [ ')' ] ) : if alltrue ( [ da . find ( lbrace ) < 0 for lbrace in lbraces ] ) : return da . split ( ',' ) ll = [ ] ; o = '' ; ii = 0 for i in da : if i == ',' and ii == 0 : ll . append ( o ) o = '' else : if i in lbraces : ii = ii + 1 if i in rbraces : ii = ii - 1 o = o + i ll . append ( o ) return ll
short_docstring: Function to split string-delimited arguments in a string without
  being fooled by those that occur in function calls.
short_docstring_tokens: Function to split string - delimited arguments in a string without being fooled by those that occur in function calls .
comment: """Function to split string-delimited arguments in a string without
      being fooled by those that occur in function calls.
      Written by Pearu Peterson. Adapted by Rob Clewley to accept different
      braces."""