MCPcopy Index your code
hub / github.com/RustPython/RustPython / ipv6_mapped

Method ipv6_mapped

Lib/ipaddress.py:1406–1413  ·  view source on GitHub ↗

Return the IPv4-mapped IPv6 address. Returns: The IPv4-mapped IPv6 address per RFC 4291.

(self)

Source from the content-addressed store, hash-verified

1404
1405 @property
1406 def ipv6_mapped(self):
1407 """Return the IPv4-mapped IPv6 address.
1408
1409 Returns:
1410 The IPv4-mapped IPv6 address per RFC 4291.
1411
1412 """
1413 return IPv6Address(f'::ffff:{self}')
1414
1415
1416class IPv4Interface(IPv4Address):

Callers

nothing calls this directly

Calls 1

IPv6AddressClass · 0.85

Tested by

no test coverage detected