(s)
Parses string as hexadecimal int or an address expression. Returns an int.
    (e.g. '1234' will return 0x1234)
Parses string as hexadecimal int or an address expression. Returns an int.
    (e.g. '1234' will return 0x1234)
Parses string as hexadecimal int or an address expression . Returns an int . ( e . g . 1234 will return 0x1234 )
def HexOrAddressExpr(s):
    """
    Parses string as hexadecimal int or an address expression. Returns an int.
    (e.g. '1234' will return 0x1234)
    """
    try:
        return int(s, 16)
    except ValueError:
        return AddressExpr(s)
def HexOrAddressExpr ( s ) : try : return int ( s , 16 ) except ValueError : return AddressExpr ( s )