summaryrefslogtreecommitdiff
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-17 08:48:32 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-17 08:48:32 +0000
commit345a080cbec5dbfed4092b232984fa932144e4ee (patch)
tree8d68434000b648bb6938aebde4a65ec543b227f1 /Lib/urllib.py
parent2d02c14a89274706f2d0e9efed03b0f85bf10165 (diff)
downloadcpython-345a080cbec5dbfed4092b232984fa932144e4ee.tar.gz
Remove functions in string module that are also string methods. Also remove:
* all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 6a2b2930cd..60d2a413bf 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -22,7 +22,6 @@ used to query various info about the object, if available.
(mimetools.Message objects are queried with the getheader() method.)
"""
-import string
import socket
import os
import time
@@ -1465,6 +1464,7 @@ def reporthook(blocknum, blocksize, totalsize):
# Test program
def test(args=[]):
+ import string
if not args:
args = [
'/etc/passwd',