Lines Matching defs:version
220 If the first and last objects are not the same version.
223 If the version of the first address is not 4 or 6.
229 if first.version != last.version:
230 raise TypeError("%s and %s are not of the same version" % (
235 if first.version == 4:
237 elif first.version == 6:
240 raise ValueError('unknown IP version')
319 TypeError: If passed a list of mixed version objects.
330 raise TypeError("%s and %s are not of the same version" % (
335 raise TypeError("%s and %s are not of the same version" % (
343 raise TypeError("%s and %s are not of the same version" % (
391 """Return the longhand version of the IP address as a string."""
396 """Return the shorthand version of the IP address as a string."""
411 def version(self):
412 msg = '%200s has no version specified' % (type(self),)
568 This IP class contains the version independent methods which are
588 raise TypeError('%s and %s are not of the same version' % (
675 This IP class contains the version independent methods which are
720 raise TypeError('%s and %s are not of the same version' % (
833 raise TypeError("%s and %s are not of the same version" % (
1040 raise TypeError(f"{a} and {b} are not of the same version")
1272 def version(self):
1754 calling ":".join(hextets) will produce the compressed version of
1879 def version(self):