cpython: #14814: Remove stale __hex__ method from ipaddress

May 31, 2012
10:21 p.m.
http://hg.python.org/cpython/rev/bd2c2def77a7 changeset: 77274:bd2c2def77a7 user: Hynek Schlawack <hs@ox.cx> date: Fri Jun 01 00:20:13 2012 +0200 summary: #14814: Remove stale __hex__ method from ipaddress Obsolete 2.x method. files: Lib/ipaddress.py | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -482,9 +482,6 @@ def __int__(self): return self._ip - def __hex__(self): - return hex(self._ip) - def __eq__(self, other): try: return (self._ip == other._ip -- Repository URL: http://hg.python.org/cpython
4794
Age (days ago)
4794
Last active (days ago)
0 comments
1 participants
participants (1)
-
hynek.schlawack