From 3152071bbab17fbb185dd5552ddd527818fcd762 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 24 May 2014 16:05:26 +0300 Subject: [PATCH] email.feedparser: Kw-only args are not supported yet by MicroPython. --- email.feedparser/email/feedparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email.feedparser/email/feedparser.py b/email.feedparser/email/feedparser.py index ea41e957..12b64ce1 100644 --- a/email.feedparser/email/feedparser.py +++ b/email.feedparser/email/feedparser.py @@ -135,7 +135,7 @@ class BufferedSubFile(object): class FeedParser: """A feed-style parser of email.""" - def __init__(self, _factory=message.Message, *, policy=compat32): + def __init__(self, _factory=message.Message, policy=compat32): """_factory is called with no arguments to create a new message obj The policy keyword specifies a policy object that controls a number of