add http.client.error (#1355)

It's in __all__
This commit is contained in:
Jelle Zijlstra
2017-05-25 19:35:36 -07:00
committed by Matthias Kramm
parent a25b449ee0
commit fce4424c6e

View File

@@ -1,5 +1,3 @@
# Stubs for http.client (Python 3.4)
from typing import (
Any, Dict, IO, Iterable, List, Iterator, Mapping, Optional, Tuple, TypeVar,
Union,
@@ -178,6 +176,7 @@ class HTTPSConnection(HTTPConnection):
check_hostname: Optional[bool] = ...) -> None: ...
class HTTPException(Exception): ...
error = HTTPException
class NotConnected(HTTPException): ...
class InvalidURL(HTTPException): ...