summaryrefslogtreecommitdiff
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r--Lib/urllib2.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index a0be039c44..284c921247 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -101,10 +101,7 @@ import time
import urlparse
import bisect
-try:
- from cStringIO import StringIO
-except ImportError:
- from StringIO import StringIO
+from io import StringIO
from urllib import (unwrap, unquote, splittype, splithost, quote,
addinfourl, splitport, splitgophertype, splitquery,