original_docstring: Ensure no braces in string expression (where possible).
      Written by Robert Clewley
docstring: Ensure no braces in string expression (where possible).
  Written by Robert Clewley
docstring_tokens: Ensure no braces in string expression ( where possible ) . Written by Robert Clewley
code: def ensurebare(t):
      """Ensure no braces in string expression (where possible).
      Written by Robert Clewley"""
      t=trysimple(t)
      try:
          if t[0]=='(' and t[-1]==')':
              if t[1:-1].find('(') < t[1:-1].find(')'):
                  return t[1:-1]
              else:
                  # false positive, e.g. (1+x)-(3-y)
                  return t
          else:
              return t
      except IndexError:
          return t
code_tokens: def ensurebare ( t ) : t = trysimple ( t ) try : if t [ 0 ] == '(' and t [ - 1 ] == ')' : if t [ 1 : - 1 ] . find ( '(' ) < t [ 1 : - 1 ] . find ( ')' ) : return t [ 1 : - 1 ] else : return t else : return t except IndexError : return t
short_docstring: Ensure no braces in string expression (where possible).
short_docstring_tokens: Ensure no braces in string expression ( where possible ) .
comment: """Ensure no braces in string expression (where possible).
      Written by Robert Clewley"""$SEP$# false positive, e.g. (1+x)-(3-y)