Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7e0229e9
Commit
7e0229e9
authored
Jun 01, 2012
by
Hynek Schlawack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#14814: Remove stale __hex__ method from ipaddress
Obsolete 2.x method.
parent
1be413e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
Lib/ipaddress.py
Lib/ipaddress.py
+0
-3
No files found.
Lib/ipaddress.py
View file @
7e0229e9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment