def get_bind_addr(conf, default_port=None):
 return (conf.bind_host, (conf.bind_port or default_port))

def get_bind_addr ( conf , default_port = None ) : return ( conf . bind_host , ( conf . bind_port or default_port ) )
return the host and port to bind to .