(self)
return b''
Read numeric literal.
Read numeric literal.
Read numeric literal .
def read_number(self):
        """Read numeric literal."""
        c = self.peek()
        if c == b'&':
            # handle hex or oct constants
            self.read(1)
            if self.peek().upper() == b'H':
                # hex literal
                return b'&H' + self._read_hex()
            else:
                # octal literal
                return b'&O' + self._read_oct()
        elif c and c in DIGITS + b'.+-':
            # decimal literal
            return self._read_dec()
        return b''
def read_number ( self ) : c = self . peek ( ) if c == b'&' : # handle hex or oct constants self . read ( 1 ) if self . peek ( ) . upper ( ) == b'H' : # hex literal return b'&H' + self . _read_hex ( ) else : # octal literal return b'&O' + self . _read_oct ( ) elif c and c in DIGITS + b'.+-' : # decimal literal return self . _read_dec ( ) return b''