#14814: Remove stale __hex__ method from ipaddress

Obsolete 2.x method.
This commit is contained in:
Hynek Schlawack 2012-06-01 00:20:13 +02:00
parent 1be413e366
commit 7e0229e90d
1 changed files with 0 additions and 3 deletions

View File

@ -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