Searched refs:ipname (Results 1 – 1 of 1) sorted by relevance
324 def _inet_paton(ipname): argument333 addr = _socket.inet_aton(ipname)338 if _socket.inet_ntoa(addr) == ipname:344 "{!r} is not a quad-dotted IPv4 address.".format(ipname)348 return _socket.inet_pton(_socket.AF_INET6, ipname)351 "address.".format(ipname))356 raise ValueError("{!r} is not an IPv4 address.".format(ipname))