summaryrefslogtreecommitdiffstats
path: root/Lib/urllib.py
diff options
context:
space:
mode:
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 66f0aea..d0031f6 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -313,7 +313,7 @@ class URLopener:
"""Use HTTPS protocol."""
import httplib
user_passwd = None
- if type(url) in types.StringTypes:
+ if type(url) is types.StringType:
host, selector = splithost(url)
if host:
user_passwd, host = splituser(host)