IPv4Address#
- class IPv4Address(value=None, prefix_length=32, *args, **kwargs)[source]#
Bases:
object
- Parameters:
value – (
value
)prefix_length – (
prefix_length
) The prefix length of the network to which this host IPv4 address belongs. (Default 32)
- property prefix_length#
The prefix length of the network to which this host IPv4 address belongs.
- Type:
int
- property value#
- Type:
str