|
@@ -13,7 +13,7 @@ class IPAddress:
|
|
|
# 4 numbers between 0 and 255, joined together with dots
|
|
|
IP_REGEXP = r"{0}\.{0}\.{0}\.{0}".format(_IP_NUMBER_REGEXP)
|
|
|
|
|
|
- def __init__(self, intlist: list[int]) -> "IPAddress":
|
|
|
+ def __init__(self, intlist: "list[int]") -> "IPAddress":
|
|
|
"""
|
|
|
Construct an ipv4-address with a list of 4 integers, e.g. to construct the ip 10.0.0.0 pass [10, 0, 0, 0]
|
|
|
"""
|