Browse Source

Small error removed

Denis Waßmann 7 years ago
parent
commit
ae9ef44443
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/ID2TLib/IPv4.py

+ 1 - 1
code/ID2TLib/IPv4.py

@@ -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]
 		"""