We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01b3e4d commit c92fcdfCopy full SHA for c92fcdf
src/module.py
@@ -51,13 +51,13 @@ def __init__(self, ip_add):
51
self.ipaddress = ipaddress.ip_address(ip_add)
52
53
def htonl(self):
54
- """transform self.ipaddress by applicating of the htonl on it"""
+ """transform self.ipaddress by applying htonl to it"""
55
ip_int = int(self.ipaddress)
56
self.ipaddress = ipaddress.ip_address(socket.htonl(ip_int))
57
return self
58
59
def ntohl(self):
60
- """transform self.ipaddress by applicating of the ntohl on it"""
+ """transform self.ipaddress by applying ntohl to it"""
61
62
self.ipaddresss = ipaddress.ip_address(socket.ntohl(ip_int))
63
0 commit comments