def phex(n):
    """Pretty hex.

    The `hex()` function can append a trailing 'L' signifying the long
    datatype. Stripping the trailing 'L' does two things:
    1. Can double click it in the IDA output window to jump to that address
    2. Looks cleaner

    Args:
        n (numbers.Integral): Number to prettify

    Returns:
        Hex string for `n` without trailing 'L'
    """
    return hex(n).rstrip('L')