def info(self):
        """Show IANA allocation information for the current IP address.

        >>> ip = IP("127.0.0.1")
        >>> print(ip.info())
        LOOPBACK
        """
        b = self.bin()
        for i in range(len(b), 0, -1):
            if b[:i] in self._range[self.v]:
                return self._range[self.v][b[:i]]
        return 'UNKNOWN'
def info ( self ) : b = self . bin ( ) for i in range ( len ( b ) , 0 , - 1 ) : if b [ : i ] in self . _range [ self . v ] : return self . _range [ self . v ] [ b [ : i ] ] return 'UNKNOWN'
Show IANA allocation information for the current IP address.

        >>> ip = IP("127.0.0.1")
        >>> print(ip.info())
        LOOPBACK