On 18/04/20 1:56 am, [email protected] wrote:
This should be valid syntax:```python return render_template("index.html", *, twitter, username=user["display_name"], channel, channelid, error, setups=database.list_setups(channelid), sched_tz, schedule, sched_tweet, checklist=database.get_checklist(channelid), timers=database.list_timers(channelid), tweets, )
Not sure I like that. The only thing telling you that the args without = are keyword args rather than positional args is the "*", which is easy to miss amidst all that other stuff. -- Greg _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/N54HRFDITUQOSC35UFXQDSYKAT7DD4U4/ Code of Conduct: http://python.org/psf/codeofconduct/
