Keyword argument 'from'; invalid syntax

Paul Rubin http
Wed Jul 25 21:44:37 EDT 2007


"Kai Kuehne" <kai.kuehne at gmail.com> writes:
> >>> 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 
  magnolia.bookmarks_find(**d)



More information about the Python-list mailing list