diff options
Diffstat (limited to 'Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py')
| -rw-r--r-- | Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py b/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py deleted file mode 100644 index 7d8ada7..0000000 --- a/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py +++ /dev/null @@ -1,16 +0,0 @@ -from __future__ import absolute_import -from future.standard_library import suspend_hooks - -from future.utils import PY3 - -if PY3: - from urllib.error import * -else: - __future_module__ = True - - # We use this method to get at the original Py2 urllib before any renaming magic - # ContentTooShortError = sys.py2_modules['urllib'].ContentTooShortError - - with suspend_hooks(): - from urllib import ContentTooShortError - from urllib2 import URLError, HTTPError |
