We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2638ed9 commit d29b1ecCopy full SHA for d29b1ec
2 files changed
iptools/__init__.py
@@ -115,7 +115,7 @@ class IpRange (Sequence):
115
>>> 2130706433 in r
116
False
117
>>> r = IpRange('::ffff:ffff:0000/120')
118
- >>> for ip in r:
+ >>> for ip in r:
119
... print(ip) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
120
::ffff:ffff:0 ... ::ffff:ffff:6d ... ::ffff:ffff:ff
121
iptools/ipv4.py
@@ -190,6 +190,7 @@ def bin(x):
190
#: (`RFC 919 <https://tools.ietf.org/html/rfc919>`_)
191
BROADCAST = "255.255.255.255"
192
193
+
194
def validate_ip(s):
195
"""Validate a dotted-quad ip address.
196
0 commit comments