@@ -106,7 +106,7 @@ write code that handles both IP versions correctly. Address objects are
106106 integer represents an octet (byte) in the address. Leading zeroes are
107107 not tolerated to prevent confusion with octal notation.
108108 2. An integer that fits into 32 bits.
109- 3. An integer packed into a :class: `bytes ` object of length 4 (most
109+ 3. An integer packed into a :class: `bytes ` or :class: ` bytearray ` object of length 4 (most
110110 significant octet first).
111111
112112 >>> ipaddress.IPv4Address(' 192.168.0.1' )
@@ -310,7 +310,7 @@ write code that handles both IP versions correctly. Address objects are
310310 See :RFC: `4007 ` for details.
311311 For example, ``fe80::1234%1 `` might identify address ``fe80::1234 `` on the first link of the node.
312312 2. An integer that fits into 128 bits.
313- 3. An integer packed into a :class: `bytes ` object of length 16, big-endian.
313+ 3. An integer packed into a :class: `bytes ` or :class: ` bytearray ` object of length 16, big-endian.
314314
315315
316316 >>> ipaddress.IPv6Address(' 2001:db8::1000' )
@@ -507,7 +507,7 @@ dictionaries.
507507 single-address network, with the network address being *address * and
508508 the mask being ``/32 ``.
509509
510- 3. An integer packed into a :class: `bytes ` object of length 4, big-endian.
510+ 3. An integer packed into a :class: `bytes ` or :class: ` bytearray ` object of length 4, big-endian.
511511 The interpretation is similar to an integer *address *.
512512
513513 4. A two-tuple of an address description and a netmask, where the address
@@ -728,7 +728,7 @@ dictionaries.
728728 single-address network, with the network address being *address * and
729729 the mask being ``/128 ``.
730730
731- 3. An integer packed into a :class: `bytes ` object of length 16, big-endian.
731+ 3. An integer packed into a :class: `bytes ` or :class: ` bytearray ` object of length 16, big-endian.
732732 The interpretation is similar to an integer *address *.
733733
734734 4. A two-tuple of an address description and a netmask, where the address
0 commit comments