diff options
Diffstat (limited to 'Lib')
-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 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) |