def __pretty_hex(self, value, width=None):
        # pylint: disable=no-self-use

        if value == None:
            return "Undefined"
        if width == None:
            return "{0:#x}".format(value)
        width = (width + 3) // 4
        hex_str = "{{0:#0{0:d}x}}".format(width + 2)
        return hex_str.format(value)


    # function __pretty_bool
    ###############################################################################
Return a somewhat-helpful data type given a function name
dataset/ETHPy150Open tpircher/pycrc/crc_symtable.py/SymbolTable.__pretty_hex--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/admindocs/views.py/get_return_data_type