'Temporary wrapper for legacy whois lookups (moved to
IPWhois.lookup_whois()). This will be removed in a future
release (TBD).'

def lookup(self, *args, **kwargs):

    from warnings import warn
    warn('IPWhois.lookup()    has    been    deprecated    and    will    be    removed.    You    should    now    use    IPWhois.lookup_whois()    for    legacy    whois    lookups.')
    return self.lookup_whois(*args, **kwargs)
