Home
last modified time | relevance | path

Searched refs:ipname (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Lib/
Dssl.py324 def _inet_paton(ipname): argument
333 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))