Skip to content

Commit dd54785

Browse files
authored
Update ipaddress.rst
1 parent 0cc5ace commit dd54785

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/library/ipaddress.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,13 @@ write code that handles both IP versions correctly. Address objects are
343343
the embedded ``(server, client)`` IP address pair. For any other
344344
address, this property will be ``None``.
345345

346+
.. attribute:: ipv4_translation
347+
348+
For addresses that appear to be IPv6/IPv4 translation addresses
349+
(starting with ``64:ff9b::/96``) as defined by :RFC:`6052` and :RFC:`8215`,
350+
This property will report the embedded IPv4 address. For any other
351+
address, this property will be ``None``.
352+
346353
.. method:: IPv6Address.__format__(fmt)
347354

348355
Refer to the corresponding method documentation in

0 commit comments

Comments
 (0)