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-April/044144.html below:

[Python-Dev] PEP 318: How I would implement decorators

[Python-Dev] PEP 318: How I would implement decoratorsGreg Ewing greg at cosc.canterbury.ac.nz
Tue Apr 6 23:19:39 EDT 2004
Jim Hugunin <lists at hugunin.net>:

> I like Sam's proposal to add a '*' in front of the list.
> 
> *[java_sig("public void meth(int a, int b)"), staticmethod]
> def meth(self, a, b):
>     pass

Would this have any implications if we were to decide to
allow * in unpacking one day, i.e.

  a, b, *c = some_tuple

It might become legal for an expression to start with *,
then.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

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