(self)
return word
Read octal literal.
Read octal literal.
Read octal literal .
def _read_oct(self):
        """Read octal literal."""
        # O is optional, could also be &777 instead of &O777
        if self.peek().upper() == b'O':
            self.read(1)
        word = b''
        while True:
            c = self.peek()
            # oct literals may be interrupted by whitespace
            if c and c in OCTDIGITS + self.blanks:
                word += self.read(1)
            else:
                break
        return word
def _read_oct ( self ) : # O is optional, could also be &777 instead of &O777 if self . peek ( ) . upper ( ) == b'O' : self . read ( 1 ) word = b'' while True : c = self . peek ( ) # oct literals may be interrupted by whitespace if c and c in OCTDIGITS + self . blanks : word += self . read ( 1 ) else : break return word