diff --git a/src/requests/exceptions.py b/src/requests/exceptions.py index 6e71506e96..d7b7becc8b 100644 --- a/src/requests/exceptions.py +++ b/src/requests/exceptions.py @@ -35,7 +35,7 @@ class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): def __init__(self, *args, **kwargs): """ Construct the JSONDecodeError instance first with all - args. Then use it's args to construct the IOError so that + args. Then use its args to construct the IOError so that the json specific args aren't used as IOError specific args and the error message from JSONDecodeError is preserved. """