parameters: (match)
return_statement: return match.group("escaped_backslashes") + result
docstring: Return the octal form of the hex numbers
docstring_summary: Return the octal form of the hex numbers
docstring_tokens: Return the octal form of the hex numbers
function: def _HexToOct(match):
    "Return the octal form of the hex numbers"
    hex = match.group("hex")
    result = ""
    while len(hex):
      next_num = int(hex[2:4], 16)
      result += "\\" + '%03o' % next_num
      hex = hex[4:]
    return match.group("escaped_backslashes") + result
function_tokens: def _HexToOct ( match ) : hex = match . group ( "hex" ) result = "" while len ( hex ) : next_num = int ( hex [ 2 : 4 ] , 16 ) result += "\\" + '%03o' % next_num hex = hex [ 4 : ] return match . group ( "escaped_backslashes" ) + result