diff options
Diffstat (limited to 'Lib/email/parser.py')
-rw-r--r-- | Lib/email/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/parser.py b/Lib/email/parser.py index f49d31d..ed512b1 100644 --- a/Lib/email/parser.py +++ b/Lib/email/parser.py @@ -17,7 +17,7 @@ from email._policybase import compat32 class Parser: - def __init__(self, _class=Message, *, policy=compat32): + def __init__(self, _class=None, *, policy=compat32): """Parser of RFC 2822 and MIME email messages. Creates an in-memory object tree representing the email message, which |