Refer to the corresponding attribute documentation in IPv4Address.
ipaddress/IPv4Network.version
IPv4Network.version