On 18/04/20 1:56 am, oliveira.rodrig...@gmail.com 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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/N54HRFDITUQOSC35UFXQDSYKAT7DD4U4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to