Lines Matching refs:strict
57 def ip_network(address, strict=True):
74 return IPv4Network(address, strict)
79 return IPv6Network(address, strict)
1234 # Handle leading zeros as strict as glibc's inet_pton()
1399 self.network = IPv4Network((addr, mask), strict=False)
1475 def __init__(self, address, strict=True):
1507 ValueError: If strict is True and a network address is not
1516 if strict:
2104 self.network = IPv6Network((addr, mask), strict=False)
2189 def __init__(self, address, strict=True):
2209 strict: A boolean. If true, ensure that we have been passed
2217 ValueError: If strict was True and a network address was not
2226 if strict: