A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-March/042956.html below:

[Python-Dev] PEP 318 - generality of list; restrictions on elements

[Python-Dev] PEP 318 - generality of list; restrictions on elements [Python-Dev] PEP 318 - generality of list; restrictions on elementsFred L. Drake, Jr. fdrake at acm.org
Mon Mar 8 15:14:26 EST 2004
On Monday 08 March 2004 03:05 pm, Skip Montanaro wrote:
 > Must take a single argument, which itself must be a callable, right?

If I write:

    def foo() [w1, w2]:
        pass

I'd expect w2() to be passed whatever w1() returns, regardless of whether it's 
callable.  It should raise an exception if it gets something it can't handle.



  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation


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