mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Re-enable python 2 urllib.error stubs.
This commit is contained in:
4
third_party/2.7/six/moves/urllib/error.pyi
vendored
4
third_party/2.7/six/moves/urllib/error.pyi
vendored
@@ -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
|
||||
|
||||
4
third_party/2.7/six/moves/urllib_error.pyi
vendored
4
third_party/2.7/six/moves/urllib_error.pyi
vendored
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user