소스 검색

Small error removed

Denis Waßmann 7 년 전
부모
커밋
ae9ef44443
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]
 		"""