Skip to content

Commit 004a504

Browse files
gh-128949: fix BytesHeaderParser NEWS reference
Link the documented class rather than its inherited parse method. The author reviewed and approved this one-line correction. AI-assisted: Codex.
1 parent 9634201 commit 004a504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Preserve line endings in :meth:`email.parser.BytesParser.parse` and
2-
:meth:`~email.parser.BytesHeaderParser.parse`. This prevents corruption of
2+
:class:`~email.parser.BytesHeaderParser`. This prevents corruption of
33
unencoded binary payloads and makes parsing a binary file consistent with
44
parsing the same content using ``parsebytes()``.

0 commit comments

Comments
 (0)