human
I wrote the below code

    def fixint(i):
        i = str(i)
        if (i.lower() == 'none'):
            return None
        if (i.lower() == 'true'):
            return None
        return int(i)
    def fix(i):
        i = str(i)
        if (i.lower() == 'none'):
            return None
        if (i.lower() == 'true'):
            return None
        if (i == '()'):
            return ()
        return i
    (first, last, count) = map(fixint, (first, last, count))
    (router, dns) = map(fix, (router, dns))
    pool = SimpleAddressPool(network=network, first=first, last=last, count=count)
    core.registerNew(DHCPD, install_flow=(not no_flow), pool=pool, ip_address=ip, router_address=router, dns_address=dns)
    log.debug('DHCP    serving    a%s', str(pool)[2:(-1)])

What's a good function header?
assistant
#Here's a good function header.

def launch(no_flow=False, network='192.168.0.0/24', first=1, last=None, count=None, ip='192.168.0.254', router=(), dns=()):