diff --git a/third_party/2.7/six/moves/__init__.pyi b/third_party/2.7/six/moves/__init__.pyi index aef863dec..e295c2ae9 100644 --- a/third_party/2.7/six/moves/__init__.pyi +++ b/third_party/2.7/six/moves/__init__.pyi @@ -14,8 +14,8 @@ from __builtin__ import reduce as reduce from pipes import quote as shlex_quote from StringIO import StringIO as StringIO from UserDict import UserDict as UserDict -from UserList import UserList as UserList -from UserString import UserString as UserString +## from UserList import UserList as UserList +## from UserString import UserString as UserString from __builtin__ import xrange as xrange from itertools import izip as zip from itertools import izip_longest as zip_longest diff --git a/third_party/2.7/six/moves/urllib/error.pyi b/third_party/2.7/six/moves/urllib/error.pyi index 05eda84a7..7f860ae6d 100644 --- a/third_party/2.7/six/moves/urllib/error.pyi +++ b/third_party/2.7/six/moves/urllib/error.pyi @@ -3,6 +3,6 @@ # # Stubs for six.moves.urllib.error (Python 2.7) -from urllib2 import URLError as URLError -from urllib2 import HTTPError as HTTPError +## from urllib2 import URLError as URLError +## from urllib2 import HTTPError as HTTPError from urllib import ContentTooShortError as ContentTooShortError diff --git a/third_party/2.7/six/moves/urllib/request.pyi b/third_party/2.7/six/moves/urllib/request.pyi index 8c8a8b7df..77b2e590b 100644 --- a/third_party/2.7/six/moves/urllib/request.pyi +++ b/third_party/2.7/six/moves/urllib/request.pyi @@ -3,34 +3,34 @@ # # Stubs for six.moves.urllib.request (Python 2.7) -from urllib2 import urlopen as urlopen -from urllib2 import install_opener as install_opener -from urllib2 import build_opener as build_opener +## from urllib2 import urlopen as urlopen +## from urllib2 import install_opener as install_opener +## from urllib2 import build_opener as build_opener from urllib import pathname2url as pathname2url from urllib import url2pathname as url2pathname from urllib import getproxies as getproxies -from urllib2 import Request as Request -from urllib2 import OpenerDirector as OpenerDirector -from urllib2 import HTTPDefaultErrorHandler as HTTPDefaultErrorHandler -from urllib2 import HTTPRedirectHandler as HTTPRedirectHandler -from urllib2 import HTTPCookieProcessor as HTTPCookieProcessor -from urllib2 import ProxyHandler as ProxyHandler -from urllib2 import BaseHandler as BaseHandler -from urllib2 import HTTPPasswordMgr as HTTPPasswordMgr -from urllib2 import HTTPPasswordMgrWithDefaultRealm as HTTPPasswordMgrWithDefaultRealm -from urllib2 import AbstractBasicAuthHandler as AbstractBasicAuthHandler -from urllib2 import HTTPBasicAuthHandler as HTTPBasicAuthHandler -from urllib2 import ProxyBasicAuthHandler as ProxyBasicAuthHandler -from urllib2 import AbstractDigestAuthHandler as AbstractDigestAuthHandler -from urllib2 import HTTPDigestAuthHandler as HTTPDigestAuthHandler -from urllib2 import ProxyDigestAuthHandler as ProxyDigestAuthHandler -from urllib2 import HTTPHandler as HTTPHandler -from urllib2 import HTTPSHandler as HTTPSHandler -from urllib2 import FileHandler as FileHandler -from urllib2 import FTPHandler as FTPHandler -from urllib2 import CacheFTPHandler as CacheFTPHandler -from urllib2 import UnknownHandler as UnknownHandler -from urllib2 import HTTPErrorProcessor as HTTPErrorProcessor +## from urllib2 import Request as Request +## from urllib2 import OpenerDirector as OpenerDirector +## from urllib2 import HTTPDefaultErrorHandler as HTTPDefaultErrorHandler +## from urllib2 import HTTPRedirectHandler as HTTPRedirectHandler +## from urllib2 import HTTPCookieProcessor as HTTPCookieProcessor +## from urllib2 import ProxyHandler as ProxyHandler +## from urllib2 import BaseHandler as BaseHandler +## from urllib2 import HTTPPasswordMgr as HTTPPasswordMgr +## from urllib2 import HTTPPasswordMgrWithDefaultRealm as HTTPPasswordMgrWithDefaultRealm +## from urllib2 import AbstractBasicAuthHandler as AbstractBasicAuthHandler +## from urllib2 import HTTPBasicAuthHandler as HTTPBasicAuthHandler +## from urllib2 import ProxyBasicAuthHandler as ProxyBasicAuthHandler +## from urllib2 import AbstractDigestAuthHandler as AbstractDigestAuthHandler +## from urllib2 import HTTPDigestAuthHandler as HTTPDigestAuthHandler +## from urllib2 import ProxyDigestAuthHandler as ProxyDigestAuthHandler +## from urllib2 import HTTPHandler as HTTPHandler +## from urllib2 import HTTPSHandler as HTTPSHandler +## from urllib2 import FileHandler as FileHandler +## from urllib2 import FTPHandler as FTPHandler +## from urllib2 import CacheFTPHandler as CacheFTPHandler +## from urllib2 import UnknownHandler as UnknownHandler +## from urllib2 import HTTPErrorProcessor as HTTPErrorProcessor from urllib import urlretrieve as urlretrieve from urllib import urlcleanup as urlcleanup from urllib import URLopener as URLopener diff --git a/third_party/2.7/six/moves/urllib_error.pyi b/third_party/2.7/six/moves/urllib_error.pyi index 4872659b0..d915d3aa4 100644 --- a/third_party/2.7/six/moves/urllib_error.pyi +++ b/third_party/2.7/six/moves/urllib_error.pyi @@ -4,7 +4,7 @@ # Stubs for six.moves.urllib_error (Python 2.7) from six.moves.urllib.error import ( - URLError as URLError, - HTTPError as HTTPError, + ## URLError as URLError, + ## HTTPError as HTTPError, ContentTooShortError as ContentTooShortError, )