

def __init__(self, value, context):
    super().__init__(value, context)
    if ('.' in self.value):
        self.value = float(self.value)
    else:
        self.value = int(self.value, 0)

dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py Number.__init__/original