mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100)
(cherry picked from commit 0d4c7fcd4f
)
Co-authored-by: Long Vo <long.vo@linecorp.com>
2 lines
162 B
ReStructuredText
2 lines
162 B
ReStructuredText
The default value of ``fp`` becomes :class:`io.BytesIO` if :exc:`~urllib.error.HTTPError`
|
|
is initialized without a designated ``fp`` parameter. Patch by Long Vo.
|