Logo Search packages:      
Sourcecode: virt-manager version File versions  Download package

def virtManager::IPy::IPint::__repr__ (   self  ) 

Print a representation of the Object.

Used to implement repr(IP). Returns a string which evaluates
to an identical Object (without the wnatprefixlen stuff - see
module docstring.

>>> print repr(IP('10.0.0.0/24'))
IP('10.0.0.0/24')

Reimplemented in virtManager::IPy::IP.

Definition at line 705 of file IPy.py.

00705                       :
        """Print a representation of the Object.

        Used to implement repr(IP). Returns a string which evaluates
        to an identical Object (without the wnatprefixlen stuff - see
        module docstring.

        >>> print repr(IP('10.0.0.0/24'))
        IP('10.0.0.0/24')
        """

        return("IPint('%s')" % (self.strCompressed(1))) 


    def __cmp__(self, other):


Generated by  Doxygen 1.6.0   Back to index