(self)
return b'%o' % (self.to_int(unsigned=True),)
Convert integer to str in octal representation.
Convert integer to str in octal representation.
Convert integer to str in octal representation .
def to_oct(self):
        """Convert integer to str in octal representation."""
        if self.is_zero():
            return b'0'
        return b'%o' % (self.to_int(unsigned=True),)
def to_oct ( self ) : if self . is_zero ( ) : return b'0' return b'%o' % ( self . to_int ( unsigned = True ) , )