diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-17 08:48:32 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-17 08:48:32 +0000 |
commit | 345a080cbec5dbfed4092b232984fa932144e4ee (patch) | |
tree | 8d68434000b648bb6938aebde4a65ec543b227f1 /Lib/urllib.py | |
parent | 2d02c14a89274706f2d0e9efed03b0f85bf10165 (diff) | |
download | cpython-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.py | 2 |
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', |