diff options
-rw-r--r-- | Lib/urllib/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 6a2ce91..5440efb 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -2163,7 +2163,7 @@ if sys.platform == 'darwin': def ip2num(ipAddr): parts = ipAddr.split('.') - parts = map(int, parts) + parts = list(map(int, parts)) if len(parts) != 4: parts = (parts + [0, 0, 0, 0])[:4] return (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8) | parts[3] |