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/2006-March/062745.html below:

[Python-Dev] Py3k: Except clause syntax

[Python-Dev] Py3k: Except clause syntax [Python-Dev] Py3k: Except clause syntaxTristan Seligmann mithrandi-python-dev at mithrandi.za.net
Wed Mar 22 11:04:34 CET 2006
* Greg Ewing <greg.ewing at canterbury.ac.nz> [2006-03-21 13:20:53 +1200]:

> Gareth McCaughan wrote:
> 
> > but wouldn't if be nice if you could say
> > 
> >     def f((x0,y0) as p0, (x1,y1) as p1):
> 
> I'm not sure that it would. Currently you can look at
> a function header and get a picture of its calling
> signature, but this would clutter it up with
> implementation details of the function that aren't
> relevant to the caller.

For maximal utility, this would affect the calling signature of the
function, too: it would now have keyword arguments named p0 and p1.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/python-dev/attachments/20060322/2395471a/attachment.pgp 
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