The IPv4Address and IPv6Address objects share a lot of commonĪttributes. Obtained by calling the appropriate version specific class constructorsĭirectly. Information on the precise error, as the functions don’t know whether the IPv4 and IPv6 formats means that error messages provide minimal One downside of these convenience functions is that the need to handle both ValueError is raised if address does not represent a valid IPv4 or Integers less than 2**32 will be considered to be IPv4 by default. Either IPv4 or IPv6 addresses may be supplied Return an IPv4Interface or IPv6Interface object depending
0 Comments
Leave a Reply. |