Keyword argument 'from'; invalid syntax

Paul Rubin http
Thu Jul 26 03:44:37 CEST 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