Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Commit 0d9c93f

Browse files
committed
pep8
1 parent e24d470 commit 0d9c93f

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

ipaddr.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,16 +1178,17 @@ def version(self):
11781178

11791179
@property
11801180
def is_reserved(self):
1181-
"""Test if the address is otherwise IETF reserved.
1181+
"""Test if the address is otherwise IETF reserved.
11821182
11831183
Returns:
11841184
A boolean, True if the address is within the
11851185
reserved IPv4 Network range.
11861186
1187-
"""
1188-
return 4026531840 <= self._ip <= 4294967295
1189-
return _BaseV4._IP_RESERVED._ip <= self._ip <= _BaseV4._IP_RESERVED.broadcast._ip
1190-
return self in _BaseV4._IP_RESERVED
1187+
"""
1188+
return 4026531840 <= self._ip <= 4294967295
1189+
return (_BaseV4._IP_RESERVED._ip <= self._ip <=
1190+
_BaseV4._IP_RESERVED.broadcast._ip)
1191+
return self in _BaseV4._IP_RESERVED
11911192

11921193
@property
11931194
def is_private(self):

0 commit comments

Comments
 (0)