(self, oct_repr)
return self.from_int(val, unsigned=True)
Convert str in octal representation to integer.
Convert str in octal representation to integer.
Convert str in octal representation to integer .
def from_oct(self, oct_repr):
        """Convert str in octal representation to integer."""
        # oct representations may be interrupted by blanks
        val = int(oct_repr.strip(BLANKS), 8) if oct_repr.strip(BLANKS) else 0
        return self.from_int(val, unsigned=True)
def from_oct ( self , oct_repr ) : # oct representations may be interrupted by blanks val = int ( oct_repr . strip ( BLANKS ) , 8 ) if oct_repr . strip ( BLANKS ) else 0 return self . from_int ( val , unsigned = True )