Commit 7e0229e9 authored by Hynek Schlawack's avatar Hynek Schlawack

#14814: Remove stale __hex__ method from ipaddress

Obsolete 2.x method.
parent 1be413e3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment