<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def info(self, domain_id=None, domain=None):
        '''Get information for a specific domain

        Specify a domain by either ``domain_id`` or ``domain``, if both are
        specified, then ``domain_id`` is used.
        
        :param str domain_id: Domain ID
        :param str domain: Domain
        :return: Domain object
        '''
        if domain_id != None:
            r = self._api.do_post('Domain.Info', domain_id=domain_id)
        elif domain != None:
            r = self._api.do_post('Domain.Info', domain=domain)
        else:
            raise DNSPodError('Both domain_id and domain are not specificed')
        return Domain(r['domain'])