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/2004-August/046967.html below:

[Python-Dev] Re: @decorators, the PEP and the "options" out there?

[Python-Dev] Re: @decorators, the PEP and the "options" out there?Nicolas Fleury nidoizo at yahoo.com
Thu Aug 5 23:55:00 CEST 2004
Martin v. Löwis wrote:
> Nicolas Fleury wrote:
>> accepts(int,int,def)
>> returns(float,def)
>> def bar(low,high):
> 
> That doesn't work. If accepts and returns are callables
> (as they should be), then this already means something
> in current Python. So this would not be backwards
> compatible.

I'm sorry (I don't like that solution at all honestly), but what passing 
"def" to a callable means in current Python?  It is not accepted by my 
interactive shell...

Regards,
Nicolas

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