#14814: Remove stale __hex__ method from ipaddress
Obsolete 2.x method.
This commit is contained in:
parent
1be413e366
commit
7e0229e90d
|
@ -482,9 +482,6 @@ class _BaseAddress(_IPAddressBase):
|
|||
def __int__(self):
|
||||
return self._ip
|
||||
|
||||
def __hex__(self):
|
||||
return hex(self._ip)
|
||||
|
||||
def __eq__(self, other):
|
||||
try:
|
||||
return (self._ip == other._ip
|
||||
|
|
Loading…
Reference in New Issue