def ParseTraceLocationLine(msg):
 parsed = re.match(kCodeLocationLine, msg)
 if (not parsed):
  return None
 try:
  return (parsed.group(1), parsed.group(2), parsed.group(3))
 except IndexError as e:
  logging.warning(('RE matched "%s", but extracted wrong number of items: %r' % (msg, e)))
  return None

def ParseTraceLocationLine ( msg ) : parsed = re . match ( kCodeLocationLine , msg ) if ( not parsed ) : return None try : return ( parsed . group ( 1 ) , parsed . group ( 2 ) , parsed . group ( 3 ) ) except IndexError as e : logging . warning ( ( 'RE matched "%s", but extracted wrong number of items: %r' % ( msg , e ) ) ) return None
parse the location line of a stack trace .