def stripid(text):
 if _re_stripid.search(repr(Exception)):
  return _re_stripid.sub('\\1', text)
 return text

def stripid ( text ) : if _re_stripid . search ( repr ( Exception ) ) : return _re_stripid . sub ( '\\1' , text ) return text
remove the hexadecimal id from a python object representation .