Skip to content

Commit b20b15a

Browse files
committed
revert PEP-8
1 parent ca36ea4 commit b20b15a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/ipaddress.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,9 @@ def __lt__(self, other):
715715
def __eq__(self, other):
716716
if not isinstance(other, _BaseNetwork):
717717
return NotImplemented
718-
return (self.version == other.version
719-
and self.network_address == other.network_address
720-
and int(self.netmask._ip) == int(other.netmask))
718+
return (self.version == other.version and
719+
self.network_address == other.network_address and
720+
int(self.netmask._ip) == int(other.netmask))
721721

722722
def __hash__(self):
723723
return hash((int(self.network_address), int(self.netmask)))

0 commit comments

Comments
 (0)