Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7d9436

Browse files
committed
Merged revisions 81024 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r81024 | mark.dickinson | 2010-05-09 13:16:29 +0100 (Sun, 09 May 2010) | 1 line Fix test_urllib2 failure on OS X. ........
1 parent 9c39bc7 commit b7d9436

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/urllib/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ def proxy_bypass_macosx_sysconf(host):
21632163

21642164
def ip2num(ipAddr):
21652165
parts = ipAddr.split('.')
2166-
parts = map(int, parts)
2166+
parts = list(map(int, parts))
21672167
if len(parts) != 4:
21682168
parts = (parts + [0, 0, 0, 0])[:4]
21692169
return (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8) | parts[3]

0 commit comments

Comments
 (0)