summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/email.parser.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.parser.rst b/Doc/library/email.parser.rst
index 9f137cd..ec74fe0 100644
--- a/Doc/library/email.parser.rst
+++ b/Doc/library/email.parser.rst
@@ -181,7 +181,7 @@ have the same API as the :class:`Parser` and :class:`BytesParser` classes.
.. versionchanged:: 3.3
Removed the *strict* argument. Added the *policy* keyword.
- .. method:: parse(fp, headeronly=False)
+ .. method:: parse(fp, headersonly=False)
Read all the data from the binary file-like object *fp*, parse the
resulting bytes, and return the message object. *fp* must support