def _resolve_path(path):
 result = ''
 for m in _ESCAPE_RE.finditer(path):
  if m.group('escaped'):
   result += m.group('escaped')
  elif m.group('unescaped'):
   result += expand_path(m.group('unescaped'))
  else:
   raise ValueError('No escaped character')
 return result

def _resolve_path ( path ) : result = '' for m in _ESCAPE_RE . finditer ( path ) : if m . group ( 'escaped' ) : result += m . group ( 'escaped' ) elif m . group ( 'unescaped' ) : result += expand_path ( m . group ( 'unescaped' ) ) else : raise ValueError ( 'No escaped character' ) return result
helper for :py:func:parse_setup_cmd .