(self, boo)
return numbers.Integer(None, self)
Convert Python boolean to Integer.
Convert Python boolean to Integer.
Convert Python boolean to Integer .
def from_bool(self, boo):
        """Convert Python boolean to Integer."""
        if boo:
            return numbers.Integer(None, self).from_bytes(b'\xff\xff')
        return numbers.Integer(None, self)
def from_bool ( self , boo ) : if boo : return numbers . Integer ( None , self ) . from_bytes ( b'\xff\xff' ) return numbers . Integer ( None , self )