Skip to content

Commit

Permalink
Update aiohttp/client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Sep 9, 2023
1 parent 2f43204 commit cae5270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def _default_fallback_charset_resolver(response: ClientResponse, body: bytes) ->

if ret != "utf-8":
warnings.warn(
"Automatic character set detection is deprecated, use "
"fallback_charset_resolver instead.",
"Automatic charset detection will be removed in 3.9, see: "
"https://docs.aiohttp.org/en/stable/client_advanced.html#character-set-detection",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit cae5270

Please sign in to comment.