A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056114.html below:

[Python-Dev] Replacement for print in Python 3.0

[Python-Dev] Replacement for print in Python 3.0Guido van Rossum guido at python.org
Sat Sep 3 19:37:57 CEST 2005
On 9/3/05, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Actually, it's an ordering quirk in the parser - the extended call syntax
> stuff has to come last in the function call, which means we need to put the
> keyword arguments at the front:
> 
> Py> writeln(sep=', ', *(x*x for x in range(10)))
> 0, 1, 4, 9, 16, 25, 36, 49, 64, 81
> 
> I personally believe keyword arguments should be allowed between *args and
> **kwds at the call site, and keyword-only arguments after * in the function
> definition, but the current behaviour has never bothered me enough for me to
> look into what would be required to change it.

Same here. If anyone wants to give it a try, please go ahead!

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4