diff options
| author | Hynek Schlawack <hs@ox.cx> | 2012-06-01 00:20:13 +0200 |
|---|---|---|
| committer | Hynek Schlawack <hs@ox.cx> | 2012-06-01 00:20:13 +0200 |
| commit | 90a14d7e097bee4d0cd79ce6a49ecfb1a1f7bf99 (patch) | |
| tree | 0ebb43357d56fe784a427d4edfde2705d3f96ae6 /Lib/ipaddress.py | |
| parent | 284bf1bf7ae9befc539ef41ab9d5abb753509933 (diff) | |
| download | cpython-90a14d7e097bee4d0cd79ce6a49ecfb1a1f7bf99.tar.gz | |
#14814: Remove stale __hex__ method from ipaddress
Obsolete 2.x method.
Diffstat (limited to 'Lib/ipaddress.py')
| -rw-r--r-- | Lib/ipaddress.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py index cb35685925..90c69a4bbc 100644 --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -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 |
