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