Skip to content

Commit c95215d

Browse files
committed
style change
1 parent 61bcca9 commit c95215d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ipcalc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ def __init__(self, ip, mask=None, version=0):
203203
raise ValueError('IPv4 subnet size must be between 0 and 32')
204204

205205
def bin(self):
206-
"""
206+
'''
207207
Full-length binary representation of the IP address.
208208
>>> ip = IP("127.0.0.1")
209209
>>> print(ip.bin())
210210
01111111000000000000000000000001
211-
"""
211+
'''
212212
if self.mask is None:
213213
raise ValueError("Mask must be set to compute binary representation")
214214

0 commit comments

Comments
 (0)