Keyword argument 'from'; invalid syntax

Steven D'Aprano steve at
Thu Jul 26 04:08:40 CEST 2007

On Thu, 26 Jul 2007 03:33:20 +0200, Kai Kuehne wrote:

> I have tried to prepare a dict and then passing it to the
> method afterwards:
>>>> d = {'person': 'user', 'from': vorgestern}
>>>> magnolia.bookmarks_find(d)
> <type 'exceptions.TypeError'>: bookmarks_find() takes exactly 1
> argument (2 given)
> I'm out of ideas so help is greatly appreciated!

Try this:


although I suspect that will probably raise an exception as well. Judging
by the error message, it looks like bookmarks_find() takes only a single
argument, which I imagine would be the "self" instance automatically
provided at runtime.


More information about the Python-list mailing list