def _quote_domain(domain):
 return parse.quote(domain.replace('.', '%2E'))

def _quote_domain ( domain ) : return parse . quote ( domain . replace ( '.' , '%2E' ) )
special quoting rule for placing domain names on a url line .