requests: Add JSONDecodeError (#6838)

This commit is contained in:
Ambrose Chua
2022-01-07 11:34:22 +08:00
committed by GitHub
parent b2edc8fe4f
commit 032e6ee90c
2 changed files with 3 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
version = "2.26.*"
version = "2.27.*"
python2 = true

View File

@@ -7,6 +7,8 @@ class RequestException(IOError):
request: Any
def __init__(self, *args, **kwargs) -> None: ...
class InvalidJSONError(RequestException): ...
class JSONDecodeError(InvalidJSONError): ...
class HTTPError(RequestException): ...
class ConnectionError(RequestException): ...
class ProxyError(ConnectionError): ...