mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-134759: fix `UnboundLocalError` in `email.message.Message.get_payload` (GH-136071)
(cherry picked from commit 25335d297b)
Co-authored-by: Kliment Lamonov <klimentlamonov@yandex.ru>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 lines
155 B
ReStructuredText
2 lines
155 B
ReStructuredText
Fix :exc:`UnboundLocalError` in :func:`email.message.Message.get_payload` when
|
|
the payload to decode is a :class:`bytes` object. Patch by Kliment Lamonov.
|