def hex_str(an_int):
    'Converts an int to an hexadecimal string\n    '
    return '{0:#x}'.format(an_int)
Converts an int to an hexadecimal string
def hex_str(an_int):
    '\n    '
    return '{0:#x}'.format(an_int)